comparison core.js @ 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 02ca9ef612c3
comparison
equal deleted inserted replaced
1537:18bb9a840145 1538:b9546c7f809e
637 }; 637 };
638 xmlhttp.onreadystatechange = function() { 638 xmlhttp.onreadystatechange = function() {
639 console.log(xmlhttp.status); 639 console.log(xmlhttp.status);
640 if (xmlhttp.status != 200 && xmlhttp.readyState == 4) { 640 if (xmlhttp.status != 200 && xmlhttp.readyState == 4) {
641 createProjectSave(null); 641 createProjectSave(null);
642 } else {
643 popup.showPopup();
644 popup.popupContent.innerHTML = null;
645 popup.popupContent.textContent = "Thank you for performing this listening test";
642 } 646 }
643 }; 647 };
644 xmlhttp.send(file); 648 xmlhttp.send(file);
645 } 649 }
646 } 650 }