grails-app/assets/javascripts/video-creator.js
/**
         * Displays all the fields belonging to a specific question
         */
Displays all the fields belonging to a specific question
Displays all the fields belonging to a specific question
function displayAllFields(question) {
            removeAllFields();
            if (question !== null) {
                for (var i = 0; i < question.fields.length; i++) {
                    var field = question.fields[i];
                    var domField = createField(i, field);
                    placeFieldAt(domField, field.leftoffset * (1 / scaleWidth), field.topoffset * (1 / scaleHeight));
                }
            }
        }
function displayAllFields ( question ) { removeAllFields ( ) ; if ( question !== null ) { for ( var i = 0 ; i < question . fields . length ; i ++ ) { var field = question . fields [ i ] ; var domField = createField ( i , field ) ; placeFieldAt ( domField , field . leftoffset * ( 1 / scaleWidth ) , field . topoffset * ( 1 / scaleHeight ) ) ; } } }
Displays all the fields belonging to a specific question
Displays all the fields belonging to a specific question