summaryrefslogtreecommitdiff
path: root/js/istreamdev.js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-25 17:00:33 +0100
committerAlib <aliboba@free.fr>2010-03-25 17:00:33 +0100
commit2afcd0c8a36d62df96834f72d6cf6af2f39f5ae5 (patch)
tree0eefc78c5789e29d0c3f6067d91afd69309f3308 /js/istreamdev.js
parent57e5572ea622b495a314815bad89e2b531659c74 (diff)
downloadistreamdev-2afcd0c8a36d62df96834f72d6cf6af2f39f5ae5.tar.gz
istreamdev-2afcd0c8a36d62df96834f72d6cf6af2f39f5ae5.tar.bz2
fixed epg , almost done
Diffstat (limited to 'js/istreamdev.js')
-rw-r--r--js/istreamdev.js14
1 files changed, 10 insertions, 4 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js
index 70a269f..f12bd26 100644
--- a/js/istreamdev.js
+++ b/js/istreamdev.js
@@ -979,7 +979,7 @@ day = $('#epgform select##epg_day').val();
else if ( channel == "all" ) {
programs = 2;
} else {
- programs = "day";
+ programs = 2;
}
get_epg(channel,time,day,programs);
$(this).removeClass('active');
@@ -1046,7 +1046,6 @@ var dataString = 'action=getEpg&channel=' + channel + '&time=' + time + '&day='
parse_epg(data,channel,type);
}
$('#epglist li[rel="toggle"]').hide();
- json_complete('#epglist','cube');
});
}
@@ -1117,12 +1116,19 @@ if ($("#epglist #epg_selector select").attr("id") == 'epglist_cat') {
else if ( channel == "all" ) {
programs = 2;
} else {
- programs = "day";
+ programs = 2;
}
- get_epg(selectedvalue,time,day,programs)
+ json_start('null');
+ get_epg(selectedvalue,time,day,programs);
}
});
+ if ( $('div[class="current"]').attr('id') == "epg" || $('div[class="current reverse"]').attr('id') == "epg") {
+ json_complete('#epglist','cube');
+ }
+ else {
+ hide_loader();
+ }
}
// [/EPG SECTION]