comparison core.js @ 1570:7ee505b380b0

Fix for Bug #1280
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Tue, 16 Jun 2015 14:38:47 +0100
parents 961c40e452e0
children ab79d76c6f85
comparison
equal deleted inserted replaced
1569:16707c08b0eb 1570:7ee505b380b0
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') {