* Fix bug #16636.
This commit is contained in:
@@ -38,6 +38,6 @@ function adjustTableFooter()
|
||||
{
|
||||
$('.table.with-footer-fixed').css('margin-bottom', '0');
|
||||
$('.table-footer').removeClass('fixed-footer');
|
||||
$('.table-footer').css({"left":"0", "bottom":"0", "width":"unset"});
|
||||
$('.table-footer').css({'left': 0, 'bottom': 0, 'width': 'unset'});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
$(function()
|
||||
{
|
||||
adjustTableFooter();
|
||||
});
|
||||
|
||||
/**
|
||||
* Adjust the table footer style.
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function adjustTableFooter()
|
||||
{
|
||||
if($('#mainContent').height() < $(window).height())
|
||||
{
|
||||
$('.table').removeClass('with-footer-fixed');
|
||||
$('.table-footer').removeClass('fixed-footer');
|
||||
$('.table-footer').css({'left': 0, 'bottom': 0, 'width': 'unset'});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user