diff options
author | Alib <aliboba@free.fr> | 2010-03-26 19:18:16 +0100 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-03-26 19:18:16 +0100 |
commit | 8cfa8f09e4a4d35f7f7ce158cbf7f99944486420 (patch) | |
tree | 234e563cc5c9caa0e6db65aa2007d9406dfa51cc /js | |
parent | 61427cfc625c71c535c381c9a315a4a2d0e3785c (diff) | |
download | istreamdev-8cfa8f09e4a4d35f7f7ce158cbf7f99944486420.tar.gz istreamdev-8cfa8f09e4a4d35f7f7ce158cbf7f99944486420.tar.bz2 |
debug egp
Diffstat (limited to 'js')
-rw-r--r-- | js/istreamdev.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js index 73eec7b..cfa1b2d 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -1207,6 +1207,7 @@ function get_epgdetails(channum,startingtime,day) { title = data.program.title;
desc = data.program.desc;
stime = startingtime;
+ running = data.program.running;
etime = time.substring(6,8) + epgtime.substring(9);
$('#epgdetails h1').html('<img class="menuicon" src="img/tv.png" />' + name);
$('#epgdetails ul[class="thumb"] img[class="thumbnail"]').attr('src','logos/'+name+'.png');
@@ -1219,7 +1220,7 @@ function get_epgdetails(channum,startingtime,day) { $('#epgdetails div[rel="dataholder"] span[rel="stime"]').html(stime);
$('#epgdetails div[rel="dataholder"] span[rel="etime"]').html(etime);
$('#epgdetails div[rel="dataholder"] span[rel="url"]').html(streamdev_server + channum);
- if ( data.program.running == "yes" ) {
+ if ( running == "yes" ) {
$('#epgdetails #epgdetails_buttons').html('<span class="streamButton"><a id="edge" href="#">Edge</a></span><span class="streamButton"><a id="3g" href="#" class="cube"> 3G </a></span><span class="streamButton"><a id="wifi" href="#" class="cube">Wifi</a></span><span class="recButton"><a id="rec" href="#" class="cube">Rec.</a></span>');
} else {
$('#epgdetails #epgdetails_buttons').html('<span class="recButton"><a id="rec" href="#" class="cube">Rec.</a></span>');
|