summaryrefslogtreecommitdiff
path: root/javascript/ajax.js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-02-27 19:11:46 +0100
committerAlib <aliboba@free.fr>2010-02-27 19:11:46 +0100
commit819b546ab6eaf036325c406629dd5b4230abe327 (patch)
tree2db0d294aa5328d81805db6f0633536bd4d6eb7f /javascript/ajax.js
parent0c291490ec754b8bd80b062966e808edd56a42a8 (diff)
downloadistreamdev-819b546ab6eaf036325c406629dd5b4230abe327.tar.gz
istreamdev-819b546ab6eaf036325c406629dd5b4230abe327.tar.bz2
fix javascript
Diffstat (limited to 'javascript/ajax.js')
-rwxr-xr-xjavascript/ajax.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/javascript/ajax.js b/javascript/ajax.js
index 38a9111..9b5db5e 100755
--- a/javascript/ajax.js
+++ b/javascript/ajax.js
@@ -18,10 +18,11 @@ function alert_ajax(xhr, session)
var streamstatus = null;
var items = docXML.getElementsByTagName("streamstatus");
streamstatus = items.item(0).firstChild.data;
- if ( streamstatus == 'error' )
+ if ( streamstatus == 'error' ) {
var items2 = docXML.getElementsByTagName("message");
var errmessage = items2.item(0).firstChild.data;
errorMsg(errmessage);
+ }
else
swapPic(session);
}