diff options
author | Alib <aliboba@free.fr> | 2010-03-18 10:55:35 +0100 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-03-18 10:55:35 +0100 |
commit | 89ac0debcf397a6890ddf946cafdddf203b191d9 (patch) | |
tree | 0e6b0a41b87d80f42aba3e506b45beaab5084734 /js | |
parent | 24a99cb46753040380ddb4b4a0c5c01ad4bd0b44 (diff) | |
download | istreamdev-89ac0debcf397a6890ddf946cafdddf203b191d9.tar.gz istreamdev-89ac0debcf397a6890ddf946cafdddf203b191d9.tar.bz2 |
timer fix
Diffstat (limited to 'js')
-rw-r--r-- | js/istreamdev.js | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js index 290121c..763dd3a 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -235,7 +235,6 @@ 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",
@@ -703,10 +702,15 @@ function gen_edittimer(id,name,active,channumber,channame,date,starttime,endtime $('ul[ref="submitbut"]').remove();
if (id) {
$('#edittimer h1').html('<img class="menuicon" src="img/timers.png" / > EDIT TIMER');
- if (active = 1)
+ if (active == 1)
{
- $('#timer_active').attr("checked", "checked");
+ $('#timer_active').attr('checked', true);
+
+ }
+ else {
+ $('#timer_active').attr('checked', false);
}
+
$('#timer_id').val(id);
$('#timer_name').val(name);
$('#timer_chan option[value="' + channumber + '"]').attr("selected", "selected");
@@ -844,7 +848,6 @@ function gen_epgchanlist() { // check if chan is slected
function epg_selectchan() {
selectedchan = $('#epg_chan').val();
- alert(selectedchan);
}
// [/EPG SECTION]
|