# HG changeset patch # User Nicholas Jillings # Date 1434461927 -3600 # Node ID 7ee505b380b04b2c20fec134c1634107c75f5f2b # Parent 16707c08b0eb12dd0d61fcfacf01c0c49ddc986e Fix for Bug #1280 diff -r 16707c08b0eb -r 7ee505b380b0 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 16707c08b0eb -r 7ee505b380b0 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') {