# HG changeset patch # User Nicholas Jillings # Date 1456145474 0 # Node ID f26219ba8ddb44442240fdc657c1a724343e7ba3 # Parent 4a69b3ba474db1981d0a7c04a19ad982c0d18ad3 Bug #1584 Fix. diff -r 4a69b3ba474d -r f26219ba8ddb 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);