diff options
author | Alib <aliboba@free.fr> | 2010-02-27 19:10:13 +0100 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-02-27 19:10:13 +0100 |
commit | 0c291490ec754b8bd80b062966e808edd56a42a8 (patch) | |
tree | cbfd05c4bf1025b6cde427b88d2da2eb5ff5bebd /javascript/ajax.js | |
parent | abc25bbf7fbd78123d7e533d58857a44fb21ec60 (diff) | |
download | istreamdev-0c291490ec754b8bd80b062966e808edd56a42a8.tar.gz istreamdev-0c291490ec754b8bd80b062966e808edd56a42a8.tar.bz2 |
javascript fix
Diffstat (limited to 'javascript/ajax.js')
-rwxr-xr-x | javascript/ajax.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/javascript/ajax.js b/javascript/ajax.js index 2120bbb..38a9111 100755 --- a/javascript/ajax.js +++ b/javascript/ajax.js @@ -18,10 +18,10 @@ function alert_ajax(xhr, session) var streamstatus = null; var items = docXML.getElementsByTagName("streamstatus"); streamstatus = items.item(0).firstChild.data; - var items2 = docXML.getElementsByTagName("message"); - var errmessage = items2.item(0).firstChild.data; if ( streamstatus == 'error' ) - errorMsg(errmessage); + var items2 = docXML.getElementsByTagName("message"); + var errmessage = items2.item(0).firstChild.data; + errorMsg(errmessage); else swapPic(session); } |