diff --git a/module/programplan/js/browse.js b/module/programplan/js/browse.js index 480420dc76..70345c23d4 100644 --- a/module/programplan/js/browse.js +++ b/module/programplan/js/browse.js @@ -21,12 +21,12 @@ function fixScroll() { newBottom = $tfoot.hasClass('fixedTfootAction') ? 50 + $tfoot.height() : 50; if(typeof(ssoRedirect) != "undefined") newBottom = 50; - if(scrollOffset <= windowH + $(window).scrollTop()) - { + if(scrollOffset <= windowH + $(window).scrollTop()) + { $scrollwrapper.css({'position':'relative', 'bottom': '0px'}); - } + } else if($scrollwrapper.css('position') != 'fixed') - { + { $scrollwrapper.css({'position': 'fixed', 'bottom': newBottom + 'px'}); bottom = newBottom; } diff --git a/module/programplan/view/gantt.html.php b/module/programplan/view/gantt.html.php index 8382b09182..8d91235105 100755 --- a/module/programplan/view/gantt.html.php +++ b/module/programplan/view/gantt.html.php @@ -17,6 +17,10 @@