mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
Fix the grid widget resize handler for grid_wrapper
This commit is contained in:
parent
628b875bfb
commit
d56b92af8b
@ -990,7 +990,18 @@ var et2_grid = et2_DOMWidget.extend([et2_IDetachedDOM, et2_IAligned, et2_IResize
|
||||
{
|
||||
// apply the ratio
|
||||
_height = (this.options.resize_ratio != '')? _height * this.options.resize_ratio: _height;
|
||||
if (_height != 0) this.table.height(this.table.height() + _height );
|
||||
if (_height != 0)
|
||||
{
|
||||
if (this.wrapper)
|
||||
{
|
||||
this.wrapper.height(this.wrapper.height() + _height);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.table.height(this.table.height() + _height );
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user