From 6b41d76948b8b3eafff695ce797d6fa96127c300 Mon Sep 17 00:00:00 2001 From: Alib Date: Tue, 16 Mar 2010 18:35:36 +0100 Subject: added encodeURIcomponent to cat --- js/istreamdev.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/istreamdev.js') 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, -- cgit v1.2.3