# HG changeset patch # User Nicholas Jillings # Date 1434461927 -3600 # Node ID d350e20bddd188f86d6704b240903ddb9a2a348d # Parent 56c8325dc694167e4ce73111b83410119cf56f2d Fix for Bug #1280 diff -r 56c8325dc694 -r d350e20bddd1 ape.js --- a/ape.js Tue Jun 16 14:34:50 2015 +0100 +++ b/ape.js Tue Jun 16 14:38:47 2015 +0100 @@ -245,6 +245,7 @@ // Delete any previous audioObjects associated with the audioEngine audioEngineContext.audioObjects = []; + interfaceContext.deleteCommentBoxes(); // Find all the audioElements from the audioHolder $(audioHolderObject.audioElements).each(function(index,element){ diff -r 56c8325dc694 -r d350e20bddd1 core.js --- a/core.js Tue Jun 16 14:34:50 2015 +0100 +++ b/core.js Tue Jun 16 14:38:47 2015 +0100 @@ -1680,6 +1680,10 @@ } }; + this.deleteCommentBoxes = function() { + this.commentBoxes = []; + } + this.createCommentQuestion = function(element) { var node; if (element.type == 'text') {