Mercurial > hg > webaudioevaluationtool
comparison ape.js @ 237:6b72d1c5a5c4 Dev_main
Bug #1303 fixed. New function on page creation to destroy old commentQuestion objects.
author | Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk> |
---|---|
date | Thu, 25 Jun 2015 16:37:51 +0100 |
parents | f42e3d4a565f |
children | 5fd3ba494551 |
comparison
equal
deleted
inserted
replaced
236:f42e3d4a565f | 237:6b72d1c5a5c4 |
---|---|
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. |