mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
Avoid errors if getWidgetById() is called on a cleared widget / template
This commit is contained in:
parent
fb4482afe6
commit
65a9b4c79c
@ -393,6 +393,7 @@ var et2_widget = ClassWithAttributes.extend(
|
|||||||
{
|
{
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
if(!this._children) return null;
|
||||||
|
|
||||||
for (var i = 0; i < this._children.length; i++)
|
for (var i = 0; i < this._children.length; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user