changeset 461:f5b148187b72 Dev_main

Bug #1522 Waiting screen for user submission
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Tue, 12 Jan 2016 09:16:39 +0000
parents fd941017792b
children 0db687b660f1
files core.js
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core.js	Mon Jan 11 16:48:39 2016 +0000
+++ b/core.js	Tue Jan 12 09:16:39 2016 +0000
@@ -212,7 +212,7 @@
 		a.textContent = "Save File";
 		
 		popup.showPopup();
-		popup.popupContent.innerHTML = null;
+		popup.popupContent.innerHTML = "</span>Please save the file below to give to your test supervisor</span><br>";
 		popup.popupContent.appendChild(a);
 	} else {
 		var xmlhttp = new XMLHttpRequest;
@@ -246,6 +246,9 @@
 			}
 		};
 		xmlhttp.send(file);
+		popup.showPopup();
+		popup.popupContent.innerHTML = null;
+		popup.popupContent.textContent = "Submitting. Please Wait";
 	}
 }