comparison core.js @ 1332:45b2f482baa5

Bug #1522 Waiting screen for user submission
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Tue, 12 Jan 2016 09:16:39 +0000
parents a7e81c4f4ace
children 45510c62a7c6
comparison
equal deleted inserted replaced
1331:dfde6a011c13 1332:45b2f482baa5
210 a.href = dnlk; 210 a.href = dnlk;
211 a.download = "save.xml"; 211 a.download = "save.xml";
212 a.textContent = "Save File"; 212 a.textContent = "Save File";
213 213
214 popup.showPopup(); 214 popup.showPopup();
215 popup.popupContent.innerHTML = null; 215 popup.popupContent.innerHTML = "</span>Please save the file below to give to your test supervisor</span><br>";
216 popup.popupContent.appendChild(a); 216 popup.popupContent.appendChild(a);
217 } else { 217 } else {
218 var xmlhttp = new XMLHttpRequest; 218 var xmlhttp = new XMLHttpRequest;
219 xmlhttp.open("POST",destURL,true); 219 xmlhttp.open("POST",destURL,true);
220 xmlhttp.setRequestHeader('Content-Type', 'text/xml'); 220 xmlhttp.setRequestHeader('Content-Type', 'text/xml');
244 errorSessionDump(message.textContent); 244 errorSessionDump(message.textContent);
245 } 245 }
246 } 246 }
247 }; 247 };
248 xmlhttp.send(file); 248 xmlhttp.send(file);
249 popup.showPopup();
250 popup.popupContent.innerHTML = null;
251 popup.popupContent.textContent = "Submitting. Please Wait";
249 } 252 }
250 } 253 }
251 254
252 function errorSessionDump(msg){ 255 function errorSessionDump(msg){
253 // Create the partial interface XML save 256 // Create the partial interface XML save