Mercurial > hg > webaudioevaluationtool
changeset 1538:b9546c7f809e
Feature #1274: Added ending screen for auto-save option.
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Thu, 23 Jul 2015 10:58:08 +0100 |
parents | 18bb9a840145 |
children | 1d80719b81de |
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);