Backport commit r48262, committed by Nathan Gray. Fix sub-templates missing proper height in idots framework

This commit is contained in:
Hadi Nategh 2014-08-26 13:49:04 +00:00
parent fce681e71c
commit 9e7b3107b5
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ td.addressbook_sidebox_header {
vertical-align: bottom;
}
div#addressbook-view.et2_container {
height: 0;
height: 0 !important;
}
td.addressbook_sidebox_toolbar {
vertical-align: bottom;

View File

@ -76,7 +76,7 @@ egw_LAB.wait(function() {
$j('#divStatusBar').height()-$j('#divAppboxHeader').height()-$j('#divPoweredBy').height()-20;
//console.log('setting height of '+appbox_height);
$j('#divAppbox').css('min-height', appbox_height+'px');
$j('.et2_container').last().height(appbox_height-7);
$j('.et2_container').height(appbox_height-7);
});
$j(window).resize();
$j(window).load(function(){ // fixes sometimes not called resize, probably due to timing issues