Mercurial > hg > webaudioevaluationtool
changeset 1029:5a1313f44e93
Fixed bug where element comments disabled caused crash on page saving.
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Fri, 12 Jun 2015 12:01:14 +0100 |
parents | aca24f269c56 |
children | 057c6b039f4e |
files | ape.js index.html |
diffstat | 2 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ape.js Wed Jun 10 10:13:45 2015 +0100 +++ b/ape.js Fri Jun 12 12:01:14 2015 +0100 @@ -271,9 +271,7 @@ var trackURL = audioHolderObject.hostURL + element.url; var audioObject = audioEngineContext.newTrack(element); - if (commentShow) { - var node = interfaceContext.createCommentBox(audioObject); - } + var node = interfaceContext.createCommentBox(audioObject); // Create a slider per track audioObject.interfaceDOM = new sliderObject(audioObject);
--- a/index.html Wed Jun 10 10:13:45 2015 +0100 +++ b/index.html Fri Jun 12 12:01:14 2015 +0100 @@ -25,7 +25,7 @@ </script> <!-- Uncomment the following script for automatic loading of projects --> <script> - url = 'example_eval/project.xml'; //Project XML document location + url = 'example_eval/RealismEvaluation.xml'; //Project XML document location loadProjectSpec(url); </script>