Mercurial > hg > webaudioevaluationtool
changeset 275:360a38cc2fc2 Dev_main
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 | 1077ea830706 |
children | c460da44996b |
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);