forked from extern/egroupware
Don't try to resize if the columns are not set yet - there's nothing to resize
This commit is contained in:
parent
d22489e23b
commit
daf55af475
@ -156,6 +156,9 @@ var et2_dataview = Class.extend({
|
|||||||
* Resizes the grid
|
* Resizes the grid
|
||||||
*/
|
*/
|
||||||
resize: function(_w, _h) {
|
resize: function(_w, _h) {
|
||||||
|
// Not fully initialized yet...
|
||||||
|
if (!this.columnMgr) return;
|
||||||
|
|
||||||
if (this.width != _w)
|
if (this.width != _w)
|
||||||
{
|
{
|
||||||
this.width = _w;
|
this.width = _w;
|
||||||
|
Loading…
Reference in New Issue
Block a user