summaryrefslogtreecommitdiff
path: root/javascript/ajax.js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-02-25 13:39:11 +0100
committerAlib <aliboba@free.fr>2010-02-25 13:39:11 +0100
commit0921ec0f64d6782076d1e1fb2333cb53c86d279f (patch)
tree48821410f1eb8332254b46ee22b4d4fce136a426 /javascript/ajax.js
parentd350aac197f8ad5ab501c3b25b6543e802de0e47 (diff)
downloadistreamdev-0921ec0f64d6782076d1e1fb2333cb53c86d279f.tar.gz
istreamdev-0921ec0f64d6782076d1e1fb2333cb53c86d279f.tar.bz2
trying to debug js array
Diffstat (limited to 'javascript/ajax.js')
-rwxr-xr-xjavascript/ajax.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/javascript/ajax.js b/javascript/ajax.js
index 40ca661..56e7057 100755
--- a/javascript/ajax.js
+++ b/javascript/ajax.js
@@ -48,11 +48,11 @@ function openpls(xhr)
var items = docXML.getElementsByTagName("m3u")
streamstatus = items.item(0).firstChild.data;
- if ( streamstatus == 'error' )
+ if ( streamstatus == 'error' ) {
this.location.href = 'error.php';
- else
+ }
- this.location.href = 'playlist/playlist.m3u';
+ //this.location.href = 'playlist/playlist.m3u';
//document.s1.Play();
- }
+ }
}