Mercurial > hg > webaudioevaluationtool
changeset 868:0e525f772934
Feature #1274: Added ending screen for auto-save option.
author | Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk> |
---|---|
date | Thu, 23 Jul 2015 10:58:08 +0100 |
parents | bd128cd894be |
children | 02ca9ef612c3 |
files | core.js |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/core.js Thu Jul 23 10:48:14 2015 +0100 +++ b/core.js Thu Jul 23 10:58:08 2015 +0100 @@ -639,6 +639,10 @@ console.log(xmlhttp.status); if (xmlhttp.status != 200 && xmlhttp.readyState == 4) { createProjectSave(null); + } else { + popup.showPopup(); + popup.popupContent.innerHTML = null; + popup.popupContent.textContent = "Thank you for performing this listening test"; } }; xmlhttp.send(file);