guy 3 years ago
parent
commit
9524ab155b
  1. 5
      src/core/wrapper/layout.js

5
src/core/wrapper/layout.js

@ -581,6 +581,11 @@ BI.Layout = BI.inherit(BI.Widget, {
} }
}, },
empty: function () {
BI.Layout.superclass.empty.apply(this, arguments);
this.options.items = [];
},
destroy: function () { destroy: function () {
BI.Layout.superclass.destroy.apply(this, arguments); BI.Layout.superclass.destroy.apply(this, arguments);
this.options.items = []; this.options.items = [];

Loading…
Cancel
Save