diff interfaces/mushra.js @ 1209:943b0ba7ec83

Bug #1624 fix: New comment box management node in InterfaceContext.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Tue, 23 Feb 2016 10:49:48 +0000
parents 0e49d874ba97
children d5898c3ae2ba
line wrap: on
line diff
--- a/interfaces/mushra.js	Mon Feb 22 21:39:38 2016 +0000
+++ b/interfaces/mushra.js	Tue Feb 23 10:49:48 2016 +0000
@@ -208,14 +208,14 @@
 			}
 			sliderBox.appendChild(sliderObj.holder);
 			audioObject.bindInterface(sliderObj);
-            interfaceContext.createCommentBox(audioObject);
+            interfaceContext.commentBoxes.createCommentBox(audioObject);
 			label += 1;
 		}
         
 	});
     
     if (audioHolderObject.showElementComments) {
-		interfaceContext.showCommentBoxes(feedbackHolder,true);
+		interfaceContext.commentBoxes.showCommentBoxes(feedbackHolder,true);
 	}
 	
 	$(audioHolderObject.commentQuestions).each(function(index,element) {