mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
et2_widget_grid: Avoid exception if getDOMNode called as part of constructor
This commit is contained in:
parent
0add086707
commit
0b29d723a4
@ -871,7 +871,7 @@ export class et2_grid extends et2_DOMWidget implements et2_IDetachedDOM, et2_IAl
|
|||||||
// outer table.
|
// outer table.
|
||||||
if(_sender == this || typeof _sender == 'undefined')
|
if(_sender == this || typeof _sender == 'undefined')
|
||||||
{
|
{
|
||||||
return this.wrapper != null ? this.wrapper[0] : this.table[0];
|
return this.wrapper != null ? this.wrapper[0] : this.table != null ? this.table[0] : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check whether the _sender object exists inside the management array
|
// Check whether the _sender object exists inside the management array
|
||||||
|
Loading…
Reference in New Issue
Block a user