CC-4948: Library -> library loses have its width when window is resized

-fixed
This commit is contained in:
denise 2013-02-14 15:34:11 -05:00
parent 1a36953d82
commit e2e45b0160
1 changed files with 21 additions and 13 deletions

View File

@ -1078,6 +1078,7 @@ var AIRTIME = (function(AIRTIME){
var libTableHeight = widgetHeight - 130;
if (!$pl.is(':hidden')) {
$lib.height(widgetHeight)
.find(".dataTables_scrolling")
.css("max-height", libTableHeight)
@ -1086,6 +1087,13 @@ var AIRTIME = (function(AIRTIME){
$pl.height(widgetHeight)
.width(Math.floor(width * 0.45));
} else {
$lib.height(widgetHeight)
.find(".dataTables_scrolling")
.css("max-height", libTableHeight)
.end()
.width(width + 40);
}
}
mod.onReady = function() {