changeset 238:6a3591c66c65

Bug Fix #1303 on main
author Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk>
date Thu, 25 Jun 2015 16:40:11 +0100
parents b04f0c228093
children 16737f53817c
files ape.js core.js
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ape.js	Fri Jun 19 12:53:40 2015 +0100
+++ b/ape.js	Thu Jun 25 16:40:11 2015 +0100
@@ -334,6 +334,7 @@
 	// Delete any previous audioObjects associated with the audioEngine
 	audioEngineContext.audioObjects = [];
 	interfaceContext.deleteCommentBoxes();
+	interfaceContext.deleteCommentQuestions();
 	
 	// Find all the audioElements from the audioHolder
 	$(audioHolderObject.audioElements).each(function(index,element){
--- a/core.js	Fri Jun 19 12:53:40 2015 +0100
+++ b/core.js	Thu Jun 25 16:40:11 2015 +0100
@@ -1813,6 +1813,11 @@
 		return node;
 	};
 	
+	this.deleteCommentQuestions = function()
+	{
+		this.commentQuestions = [];
+	};
+	
 	this.playhead = new function()
 	{
 		this.object = document.createElement('div');