summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-18 10:35:42 +0100
committerAlib <aliboba@free.fr>2010-03-18 10:35:42 +0100
commit10d99171582e17fe26b11e93bdfe319559fd80ad (patch)
tree02e1dcd66b71eaa6dbfb35fcb6756672c26ac2b9 /js
parentef0bc7bd8c304fe13b941d62ff07da33f5f49315 (diff)
downloadistreamdev-10d99171582e17fe26b11e93bdfe319559fd80ad.tar.gz
istreamdev-10d99171582e17fe26b11e93bdfe319559fd80ad.tar.bz2
fixed active timer
Diffstat (limited to '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 1b2a160..764b521 100644
--- a/js/istreamdev.js
+++ b/js/istreamdev.js
@@ -787,7 +787,7 @@ $('.submit_form').tap(function(event) {
}
var timer_id = $("input#timer_id").val();
var timer_chan = $("select#timer_chan").val();
- var timer_active = $("input#timer_active").val();
+ var timer_active = $("input#timer_active").attr('checked')?1:0;
var dataString = 'action=editTimer&id=' + timer_id + '&active=' + timer_active + '&name=' + encodeURIComponent(timer_name) + '&channumber=' + timer_chan + '&date=' + timer_date + '&starttime=' + timer_starttime + '&endtime=' + timer_endtime;
$.getJSON("bin/backend.php",
dataString,