summaryrefslogtreecommitdiff
path: root/js/istreamdev.js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-16 18:35:36 +0100
committerAlib <aliboba@free.fr>2010-03-16 18:35:36 +0100
commit6b41d76948b8b3eafff695ce797d6fa96127c300 (patch)
treea7890da3fd269599445fb0a224dc22cc70fe12e6 /js/istreamdev.js
parenta8281d00ef6d804e4df8dfc072f35bbed84ab4ec (diff)
downloadistreamdev-6b41d76948b8b3eafff695ce797d6fa96127c300.tar.gz
istreamdev-6b41d76948b8b3eafff695ce797d6fa96127c300.tar.bz2
added encodeURIcomponent to cat
Diffstat (limited to 'js/istreamdev.js')
-rw-r--r--js/istreamdev.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js
index 5e8a74e..331aea2 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=" + encodeURIComponent(category);
//Json call to get category array
$.getJSON("bin/backend.php",
dataString,