From 0921ec0f64d6782076d1e1fb2333cb53c86d279f Mon Sep 17 00:00:00 2001 From: Alib Date: Thu, 25 Feb 2010 13:39:11 +0100 Subject: trying to debug js array --- javascript/ajax.js | 8 ++++---- javascript/functions.js | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) (limited to 'javascript') 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(); - } + } } diff --git a/javascript/functions.js b/javascript/functions.js index a708963..39927e4 100755 --- a/javascript/functions.js +++ b/javascript/functions.js @@ -189,4 +189,19 @@ function checkform() } return true; + +} + +function addplayer(track) { + + + playercode= "