summaryrefslogtreecommitdiff
path: root/js/istreamdev.js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-17 18:37:01 +0100
committerAlib <aliboba@free.fr>2010-03-17 18:37:01 +0100
commitd425e7f9f8c7ffe40f133e99e1d6ca6c6fee9d80 (patch)
treecba7e045a43716e1fd9846e1c99667196ce7f4b1 /js/istreamdev.js
parent9f94e565988c2cd5bf765b4d21584b1ac2fcb64f (diff)
downloadistreamdev-d425e7f9f8c7ffe40f133e99e1d6ca6c6fee9d80.tar.gz
istreamdev-d425e7f9f8c7ffe40f133e99e1d6ca6c6fee9d80.tar.bz2
solved category character encoding bug
Diffstat (limited to 'js/istreamdev.js')
-rw-r--r--js/istreamdev.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js
index 9bc4a8a..a4932eb 100644
--- a/js/istreamdev.js
+++ b/js/istreamdev.js
@@ -93,6 +93,8 @@ function reinitDivs() {
$('#timers ul[rel="timers"]').html('');
}
+
+
// [/GENERIC STUFF]
// [HOME SECTION]
@@ -201,7 +203,7 @@ var dataString = "action=getRunningSessions";
$('#categories ul#cat_menu a').tap(function(event) {
event.preventDefault();
json_start(this);
- var category = $(this).html();
+ var category = $(this).text();
gen_channels(category);
return false;
});
@@ -233,6 +235,7 @@ function gen_categories() {
//Gen Channels
function gen_channels(category) {
$("#chan_menu").html('');
+ alert(category);
var dataString = "action=getTvChan&cat=" + encodeURIComponent(category);
//Json call to get category array
$.getJSON("bin/backend.php",
@@ -561,7 +564,7 @@ function gen_browser(path,browser,name,foldertype) {
}
$('#browser' + browser + ' div[class="toolbar"]').html(toolbar);
}
- var dataString = 'action=browseFolder&path='+encodeURIComponent(path)+'&browser=' + browser;
+ var dataString = 'action=browseFolder&path='+encodeURIComponent(path);
$.getJSON("bin/backend.php",
dataString,
function(data) {