summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-26 16:28:12 +0100
committerAlib <aliboba@free.fr>2010-03-26 16:28:12 +0100
commitee54b02dd461419a1ae74e9cab55792d6db8eb77 (patch)
treeae32e6c670baeadbc4dd3baefa25074e25012ad4 /js
parent2d60cfe61ac902134f47595659659f618444bc24 (diff)
downloadistreamdev-ee54b02dd461419a1ae74e9cab55792d6db8eb77.tar.gz
istreamdev-ee54b02dd461419a1ae74e9cab55792d6db8eb77.tar.bz2
almost done for epg
Diffstat (limited to 'js')
-rw-r--r--js/istreamdev.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js
index d75d39b..f242bd8 100644
--- a/js/istreamdev.js
+++ b/js/istreamdev.js
@@ -1002,7 +1002,7 @@ get_epg("all","now","0","2");
$('#epglist #ul_epglist a').tap(function(event) {
event.preventDefault();
json_start(this);
-channum = $(this).find('span[rel="channum"]').text();
+channum = $(this).attr("rel");
epgtime = $(this).find('span[class="epgtime"]').text();
startingtime = epgtime.substring(0,2) + '' + epgtime.substring(3);
day = $('#epglist div[rel="dataholder"] span[rel="day"]').text();
@@ -1151,7 +1151,7 @@ function parse_epg(data,selectedvalue,type,day){
{
togglestatus = '';
}
- $('#epglist #ul_epglist').append('<li rel="' + togglestatus + '"><a href="#"><span class="epgtime">' + epg.time + '</span><span class="epgname">' + epg.title + '</span><span style="visibility:hidden" rel="channum">' + channel.number + '</span></a></li>');
+ $('#epglist #ul_epglist').append('<li rel="' + togglestatus + '"><a href="#" rel="' + channel.number + '"><span class="epgtime">' + epg.time + '</span><span class="epgname">' + epg.title + '</span></a></li>');
k++;
});