@ -12362,6 +12362,7 @@ if (!_global.BI) {
_purgeRef: function () {
if (this.options.ref) {
this.options.ref.call(null);
this.options.ref = null;
}
},
@ -518,6 +518,7 @@ BI.Combo = BI.inherit(BI.Widget, {
.unbind("mousemove." + this.getName())
.unbind("mouseleave." + this.getName());
BI.Resizers.remove(this.getName());
this.popupView && this.popupView._destroy();
});
BI.Combo.EVENT_TRIGGER_CHANGE = "EVENT_TRIGGER_CHANGE";
@ -271,10 +271,6 @@ BI.Switcher = BI.inherit(BI.Widget, {
empty: function () {
this.popupView && this.popupView.empty();
destroy: function () {
BI.Switcher.superclass.destroy.apply(this, arguments);
BI.Switcher.EVENT_EXPAND = "EVENT_EXPAND";
@ -81,6 +81,7 @@
@ -445,6 +445,7 @@
__d: function () {
this.beforeDestroy && this.beforeDestroy();
this.beforeDestroy = null;
BI.each(this._children, function (i, widget) {
widget && widget._unMount && widget._unMount();
@ -452,6 +453,7 @@
this._parent = null;
this._isMounted = false;
this.destroyed && this.destroyed();
this.destroyed = null;
_unMount: function () {