diff options
author | Alib <aliboba@free.fr> | 2010-03-26 10:43:51 +0100 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-03-26 10:43:51 +0100 |
commit | 8d79c6f8746eb423c9ab87c00e6519ffca7b7428 (patch) | |
tree | 444aa1a8a83c3e0475aadcb3c0ab1678de9e0288 | |
parent | 2afcd0c8a36d62df96834f72d6cf6af2f39f5ae5 (diff) | |
download | istreamdev-8d79c6f8746eb423c9ab87c00e6519ffca7b7428.tar.gz istreamdev-8d79c6f8746eb423c9ab87c00e6519ffca7b7428.tar.bz2 |
fixed reset time
-rw-r--r-- | js/istreamdev.js | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js index f12bd26..778cc12 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -149,6 +149,8 @@ $('a[class="back"]').tap(function(event) { event.preventDefault();
$(this).parents('div').find('a').unbind("tap");
});
+
+
// show active sessions
$(document).ready(function(e){
getRunningSessions();
@@ -164,6 +166,19 @@ $('#home').bind('pageAnimationStart', function(event, info){ })
});
+
+$(document).ready(function(e){
+$('#epg').bind('pageAnimationStart', function(event, info){
+ if (info.direction == 'in') {
+ $('#epg #epg_time').val("");
+ $('#epg #layer_epgtime').html('');
+ }
+ })
+});
+
+
+
+
//trick to prevent animation bug with object.
$(document).ready(function(e){
$('#streaming').bind('pageAnimationEnd', function(event, info){
@@ -979,7 +994,7 @@ day = $('#epgform select##epg_day').val(); else if ( channel == "all" ) {
programs = 2;
} else {
- programs = 2;
+ programs = "day";
}
get_epg(channel,time,day,programs);
$(this).removeClass('active');
|