aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorache <ache@ache.one>2019-01-30 23:51:57 +0100
committerache <ache@ache.one>2019-01-30 23:51:57 +0100
commitd5608829b28e8e833435fe4ec93565a93a89d764 (patch)
tree763395f4777390f98d72934a5c127b71f54c7520 /static
parentNew base (diff)
New code
Diffstat (limited to 'static')
-rw-r--r--static/synhestesis.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/static/synhestesis.js b/static/synhestesis.js
index 3696c5a..209e896 100644
--- a/static/synhestesis.js
+++ b/static/synhestesis.js
@@ -29,12 +29,13 @@ function selectChange(evt) {
resetButt.value = "Reset";
var xmlHttp = new XMLHttpRequest();
+
xmlHttp.onreadystatechange = function() {
if (xmlHttp.readyState == 4 && xmlHttp.status == 200) {
loadFile(xmlHttp.responseText);
}
}
- xmlHttp.open("GET", "http://ache.one/shared/synhestesis/" +select.options[select.selectedIndex].value, true);
+ xmlHttp.open("GET", "/default/" + select.options[select.selectedIndex].value, true);
xmlHttp.send(null);
}
function loadFile( str ) {