comparison interfaces/horizontal-sliders.js @ 1850:91c342dbe750

Bug #1624 fix: New comment box management node in InterfaceContext.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Tue, 23 Feb 2016 10:49:48 +0000
parents 43a4dbca4471
children d5898c3ae2ba
comparison
equal deleted inserted replaced
1849:2d3bc5e3c2a3 1850:91c342dbe750
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