resize only last et2 containter, to deal with multiple ones like in addressbook CRM view

This commit is contained in:
Ralf Becker 2014-03-10 11:55:33 +00:00
parent 22112d9a0e
commit bea1863d14

View File

@ -73,7 +73,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').height(appbox_height-7);
$j('.et2_container').last().height(appbox_height-7);
});
$j(window).resize();
$j(window).load(function(){ // fixes sometimes not called resize, probably due to timing issues