comparison 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
comparison
equal deleted inserted replaced
549:3898754d5428 550:aa55372146a0
208 // Distribute it randomnly 208 // Distribute it randomnly
209 sliderObj.slider.value = Math.random(); 209 sliderObj.slider.value = Math.random();
210 } 210 }
211 sliderBox.appendChild(sliderObj.holder); 211 sliderBox.appendChild(sliderObj.holder);
212 audioObject.bindInterface(sliderObj); 212 audioObject.bindInterface(sliderObj);
213 interfaceContext.createCommentBox(audioObject); 213 interfaceContext.commentBoxes.createCommentBox(audioObject);
214 label += 1; 214 label += 1;
215 } 215 }
216 216
217 }); 217 });
218 if (page.showElementComments) 218 if (page.showElementComments)
219 { 219 {
220 interfaceContext.showCommentBoxes(feedbackHolder,true); 220 interfaceContext.commentBoxes.showCommentBoxes(feedbackHolder,true);
221 } 221 }
222 // Auto-align 222 // Auto-align
223 resizeWindow(null); 223 resizeWindow(null);
224 } 224 }
225 225