# HG changeset patch # User Nicholas Jillings # Date 1456145474 0 # Node ID 658af90cb1c53a1131c3516a64b3458ae1254d98 # Parent c8c633c6590e719bafe70cc38543b696f61d0898 Bug #1584 Fix. diff -r c8c633c6590e -r 658af90cb1c5 interfaces/mushra.js --- a/interfaces/mushra.js Mon Feb 22 12:44:55 2016 +0000 +++ b/interfaces/mushra.js Mon Feb 22 12:51:14 2016 +0000 @@ -182,11 +182,6 @@ currentTestHolder.id = audioHolderObject.id; currentTestHolder.repeatCount = audioHolderObject.repeatCount; - $(audioHolderObject.commentQuestions).each(function(index,element) { - var node = interfaceContext.createCommentQuestion(element); - feedbackHolder.appendChild(node.holder); - }); - // Find all the audioElements from the audioHolder var label = 0; $(audioHolderObject.audioElements).each(function(index,element){ @@ -218,6 +213,15 @@ } }); + + if (audioHolderObject.showElementComments) { + interfaceContext.showCommentBoxes(feedbackHolder,true); + } + + $(audioHolderObject.commentQuestions).each(function(index,element) { + var node = interfaceContext.createCommentQuestion(element); + feedbackHolder.appendChild(node.holder); + }); // Auto-align resizeWindow(null);