summaryrefslogtreecommitdiff
path: root/js/istreamdev.js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-26 15:59:39 +0100
committerAlib <aliboba@free.fr>2010-03-26 15:59:39 +0100
commit2d60cfe61ac902134f47595659659f618444bc24 (patch)
treee6c47eb14e597f44f67050ea45a47bedefad6227 /js/istreamdev.js
parent90642b56d1d890e851636b55f1f9fe680e1f2e1d (diff)
downloadistreamdev-2d60cfe61ac902134f47595659659f618444bc24.tar.gz
istreamdev-2d60cfe61ac902134f47595659659f618444bc24.tar.bz2
added rec from epg
Diffstat (limited to 'js/istreamdev.js')
-rw-r--r--js/istreamdev.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js
index 4785d12..d75d39b 100644
--- a/js/istreamdev.js
+++ b/js/istreamdev.js
@@ -1009,6 +1009,20 @@ day = $('#epglist div[rel="dataholder"] span[rel="day"]').text();
get_epgdetails(channum,startingtime,day);
});
+$('#epgdetails span.recButton a').tap(function(event) {
+ event.preventDefault();
+ json_start(this);
+ var id = "new";
+ var active= 1;
+ var name = $("#epgdetails").find('span[class="name_now"]').text();
+ var channumber = $("#epgdetails" ).find('span[rel="number"]').text();
+ var channame = $("#epgdetails").find('span[rel="channame"]').text();
+ var rec_date = $("#epgdetails").find('span[rel="date"]').text();
+ var starttime = $("#epgdetails").find('span[rel="stime"]').text();
+ var endtime = $("#epgdetails").find('span[rel="etime"]').text();
+ gen_edittimer(id,name,active,channumber,channame,rec_date,starttime,endtime);
+ return false;
+});
//functions
function gen_epgmenu() {
gen_epgchanlist();