comparison ape.js @ 2051:da1be86c1782

Bug #1303 fixed. New function on page creation to destroy old commentQuestion objects.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Thu, 25 Jun 2015 16:37:51 +0100
parents acf57b56634a
children e74327737152
comparison
equal deleted inserted replaced
2050:acf57b56634a 2051:da1be86c1782
358 currentTestHolder.repeatCount = audioHolderObject.repeatCount; 358 currentTestHolder.repeatCount = audioHolderObject.repeatCount;
359 359
360 // Delete any previous audioObjects associated with the audioEngine 360 // Delete any previous audioObjects associated with the audioEngine
361 audioEngineContext.audioObjects = []; 361 audioEngineContext.audioObjects = [];
362 interfaceContext.deleteCommentBoxes(); 362 interfaceContext.deleteCommentBoxes();
363 interfaceContext.deleteCommentQuestions();
363 364
364 // Find all the audioElements from the audioHolder 365 // Find all the audioElements from the audioHolder
365 $(audioHolderObject.audioElements).each(function(index,element){ 366 $(audioHolderObject.audioElements).each(function(index,element){
366 // Find URL of track 367 // Find URL of track
367 // In this jQuery loop, variable 'this' holds the current audioElement. 368 // In this jQuery loop, variable 'this' holds the current audioElement.