diff options
Diffstat (limited to 'javascript')
-rwxr-xr-x | javascript/ajax.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/javascript/ajax.js b/javascript/ajax.js index a5a1b14..3a8b4eb 100755 --- a/javascript/ajax.js +++ b/javascript/ajax.js @@ -19,9 +19,8 @@ function alert_ajax(xhr, session) var items = docXML.getElementsByTagName("streamstatus"); streamstatus = items.item(0).firstChild.data; var items2 = docXML.getElementsByTagName("message"); - errmessage = items2.item(0).firstChild.data; + var errmessage = items2.item(0).firstChild.data; if ( streamstatus == 'error' ) - //this.location.href = 'error.php'; errorMsg(errmessage); else swapPic(session); |