summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-16 18:24:02 +0100
committerAlib <aliboba@free.fr>2010-03-16 18:24:02 +0100
commita8281d00ef6d804e4df8dfc072f35bbed84ab4ec (patch)
tree4ad249948ae70d910265440c001f6cefcfe88e64 /js
parent9c2b732fab373c7740a5071caba15c60fbe3e52d (diff)
downloadistreamdev-a8281d00ef6d804e4df8dfc072f35bbed84ab4ec.tar.gz
istreamdev-a8281d00ef6d804e4df8dfc072f35bbed84ab4ec.tar.bz2
bug corrected
Diffstat (limited to 'js')
-rw-r--r--js/istreamdev.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js
index c6093be..5e8a74e 100644
--- a/js/istreamdev.js
+++ b/js/istreamdev.js
@@ -167,7 +167,7 @@ function gen_categories() {
//Gen Channels
function gen_channels(category) {
$("#chan_menu").html('');
- var dataString = "action=getTvChan&cat=" + (category);
+ var dataString = "action=getTvChan&cat='" + category + "'";
//Json call to get category array
$.getJSON("bin/backend.php",
dataString,
@@ -324,7 +324,7 @@ function gen_streaming(session) {
//Start broadcast
function start_broadcast(type,url,mode) {
- var dataString = 'action=startBroadcast&type='+type+'&url='+url+'mode='mode;
+ var dataString = 'action=startBroadcast&type='+type+'&url='+url+'&mode=' + mode;
$.getJSON("bin/backend.php",
dataString,
function(data){