diff --git a/module/common/view/datatable.html.php b/module/common/view/datatable.html.php
index d28132e25f..4d441faa9c 100644
--- a/module/common/view/datatable.html.php
+++ b/module/common/view/datatable.html.php
@@ -121,10 +121,12 @@ function fixScroll()
if($('div.datatable.head-fixed').size() == 0) scrollOffset -= '34';
var windowH = $(window).height();
var bottom = $tfoot.hasClass('fixedTfootAction') ? 53 + $tfoot.height() : 53;
+ if(typeof(ssoRedirect) != "undefined") bottom = 53;
if(scrollOffset > windowH + $(window).scrollTop()) $scrollwrapper.css({'position': 'fixed', 'bottom': bottom + 'px'});
$(window).scroll(function()
{
- newBottom = $tfoot.hasClass('fixedTfootAction') ? 53 + $tfoot.height() : 53;
+ newBottom = $tfoot.hasClass('fixedTfootAction') ? 53 + $tfoot.height() : 53;
+ if(typeof(ssoRedirect) != "undefined") newBottom = 53;
if(scrollOffset <= windowH + $(window).scrollTop())
{
$scrollwrapper.css({'position':'relative', 'bottom': '0px'});
diff --git a/module/common/view/header.html.php b/module/common/view/header.html.php
index e813913dc3..8c363207c5 100755
--- a/module/common/view/header.html.php
+++ b/module/common/view/header.html.php
@@ -6,6 +6,9 @@ include 'chosen.html.php';
?>
app->loadConfig('sso');?>
+config->sso->redirect)) js::set('ssoRedirect', $this->config->sso->redirect);
+?>