Mercurial > hg > webaudioevaluationtool
comparison test_create/test_core.js @ 2367:89883dc7aa97
test_create: Added 'blank' scale markers preset (more intuitive), see #75.
Warning that Exit text is only visible when redirect URL blank.
author | Brecht De Man <b.deman@qmul.ac.uk> |
---|---|
date | Tue, 17 May 2016 11:30:20 +0100 |
parents | de1d5100d7a1 |
children | 32f077f5849a |
comparison
equal
deleted
inserted
replaced
2365:3cf673fb1c96 | 2367:89883dc7aa97 |
---|---|
1367 specification: specification, | 1367 specification: specification, |
1368 handleEvent: function(event) { | 1368 handleEvent: function(event) { |
1369 this.specification.exitText = this.inputDOM.value; | 1369 this.specification.exitText = this.inputDOM.value; |
1370 } | 1370 } |
1371 } | 1371 } |
1372 var exitWarning = document.createElement("div"); | |
1373 obj.rootDOM.appendChild(exitWarning); | |
1374 exitWarning.textContent = "Only visible when the above 'On complete redirect URL' field is empty."; | |
1372 obj.rootDOM.appendChild(obj.labelDOM); | 1375 obj.rootDOM.appendChild(obj.labelDOM); |
1373 obj.rootDOM.appendChild(obj.inputDOM); | 1376 obj.rootDOM.appendChild(obj.inputDOM); |
1374 obj.labelDOM.textContent = "Text: "; | 1377 obj.labelDOM.textContent = "Text: "; |
1375 obj.inputDOM.value = obj.specification.exitText; | 1378 obj.inputDOM.value = obj.specification.exitText; |
1376 obj.inputDOM.addEventListener("change",obj); | 1379 obj.inputDOM.addEventListener("change",obj); |