|
|
@ -14583,6 +14583,9 @@ BI.Widget = BI.inherit(BI.OB, { |
|
|
|
widget = name; |
|
|
|
widget = name; |
|
|
|
name = widget.getName(); |
|
|
|
name = widget.getName(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(BI.isKey(name)){ |
|
|
|
|
|
|
|
name = name + ""; |
|
|
|
|
|
|
|
} |
|
|
|
name = name || widget.getName() || BI.uniqueId("widget"); |
|
|
|
name = name || widget.getName() || BI.uniqueId("widget"); |
|
|
|
if (this._children[name]) { |
|
|
|
if (this._children[name]) { |
|
|
|
throw new Error("name has already been existed"); |
|
|
|
throw new Error("name has already been existed"); |
|
|
|