comparison index.html @ 2236:82c6c39d75e3

Fix for #15
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Fri, 15 Apr 2016 13:18:53 +0100
parents 760719986df3
children 0ea213bbe018
comparison
equal deleted inserted replaced
2235:b74f14c955d7 2236:82c6c39d75e3
33 { 33 {
34 // Split each request into 34 // Split each request into
35 searchQueries[i] = searchQueries[i].split('='); 35 searchQueries[i] = searchQueries[i].split('=');
36 if (searchQueries[i][0] == "url") 36 if (searchQueries[i][0] == "url")
37 { 37 {
38 url = searchQueries[i][1]; 38 url = decodeURI(searchQueries[i][1]);
39 } 39 }
40 } 40 }
41 loadProjectSpec(url); 41 loadProjectSpec(url);
42 window.onbeforeunload = function() { 42 window.onbeforeunload = function() {
43 return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?"; 43 return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?";