diff options
author | Alib <aliboba@free.fr> | 2010-03-16 18:24:02 +0100 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-03-16 18:24:02 +0100 |
commit | a8281d00ef6d804e4df8dfc072f35bbed84ab4ec (patch) | |
tree | 4ad249948ae70d910265440c001f6cefcfe88e64 /js | |
parent | 9c2b732fab373c7740a5071caba15c60fbe3e52d (diff) | |
download | istreamdev-a8281d00ef6d804e4df8dfc072f35bbed84ab4ec.tar.gz istreamdev-a8281d00ef6d804e4df8dfc072f35bbed84ab4ec.tar.bz2 |
bug corrected
Diffstat (limited to 'js')
-rw-r--r-- | js/istreamdev.js | 4 |
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){
|