diff options
Diffstat (limited to 'synhestesis.js')
-rw-r--r-- | synhestesis.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synhestesis.js b/synhestesis.js index c5e378b..c2da8f0 100644 --- a/synhestesis.js +++ b/synhestesis.js @@ -22,8 +22,10 @@ asPass = false function selectChange(evt) { var xmlHttp = new XMLHttpRequest(); xmlHttp.onreadystatechange = function() { - if (xmlHttp.readyState == 4 && xmlHttp.status == 200) + if (xmlHttp.readyState == 4 && xmlHttp.status == 200) { + alert(xmlHttp.responseText) loadFile(xmlHttp.responseText); + } } xmlHttp.open("GET", "http://ache.one/shared/synhestesis/" + select.selectedIndex, true); xmlHttp.send(null); |