diff options
author | Alib <aliboba@free.fr> | 2010-02-27 18:38:02 +0100 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-02-27 18:38:02 +0100 |
commit | 3703d6ccdecf590eeb4f023f2fb99d79315d1fc5 (patch) | |
tree | a1ba80f6f0ccf5182131158eca5f0e8571749ac0 /javascript | |
parent | 60bda4c150c981432102022177c3b391043817f3 (diff) | |
download | istreamdev-3703d6ccdecf590eeb4f023f2fb99d79315d1fc5.tar.gz istreamdev-3703d6ccdecf590eeb4f023f2fb99d79315d1fc5.tar.bz2 |
fix javascript for error msg
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); |