comparison core.js @ 900:d350e20bddd1

Fix for Bug #1280
author Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk>
date Tue, 16 Jun 2015 14:38:47 +0100
parents 070a90d1117c
children ab79d76c6f85
comparison
equal deleted inserted replaced
899:56c8325dc694 900:d350e20bddd1
1678 for (var i=0; i<interfaceContext.commentBoxes.length; i++) { 1678 for (var i=0; i<interfaceContext.commentBoxes.length; i++) {
1679 inject.appendChild(this.commentBoxes[i].trackComment); 1679 inject.appendChild(this.commentBoxes[i].trackComment);
1680 } 1680 }
1681 }; 1681 };
1682 1682
1683 this.deleteCommentBoxes = function() {
1684 this.commentBoxes = [];
1685 }
1686
1683 this.createCommentQuestion = function(element) { 1687 this.createCommentQuestion = function(element) {
1684 var node; 1688 var node;
1685 if (element.type == 'text') { 1689 if (element.type == 'text') {
1686 node = new this.commentBox(element); 1690 node = new this.commentBox(element);
1687 } else if (element.type == 'radio') { 1691 } else if (element.type == 'radio') {