diff interfaces/horizontal-sliders.js @ 550:aa55372146a0 Dev_main

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 df2d916fd9cf
children 7567dda76333
line wrap: on
line diff
--- a/interfaces/horizontal-sliders.js	Mon Feb 22 21:39:38 2016 +0000
+++ b/interfaces/horizontal-sliders.js	Tue Feb 23 10:49:48 2016 +0000
@@ -210,14 +210,14 @@
 			}
 			sliderBox.appendChild(sliderObj.holder);
 			audioObject.bindInterface(sliderObj);
-            interfaceContext.createCommentBox(audioObject);
+            interfaceContext.commentBoxes.createCommentBox(audioObject);
 			label += 1;
 		}
         
 	});
 	if (page.showElementComments)
     {
-        interfaceContext.showCommentBoxes(feedbackHolder,true);
+        interfaceContext.commentBoxes.showCommentBoxes(feedbackHolder,true);
     }
 	// Auto-align
 	resizeWindow(null);