guy 8 years ago
parent
commit
78f30fe2f1
  1. 9
      bi/base.js
  2. 9
      dist/base.js
  3. 9
      src/base/table/table.js

9
bi/base.js

@ -31005,11 +31005,9 @@ BI.Table = BI.inherit(BI.Widget, {
}; };
this._initNormalScroll(); this._initNormalScroll();
BI.Resizers.add(this.getName(), function (e) { BI.ResizeDetector.addResizeListener(this, function () {
if (self.element.is(":visible") && BI.isWindow(e.target)) { self._resize();
self._resize(); self.fireEvent(BI.Table.EVENT_TABLE_RESIZE);
self.fireEvent(BI.Table.EVENT_TABLE_RESIZE);
}
}); });
BI.nextTick(function () { BI.nextTick(function () {
if (self.element.is(":visible")) { if (self.element.is(":visible")) {
@ -32035,7 +32033,6 @@ BI.Table = BI.inherit(BI.Widget, {
}, },
empty: function () { empty: function () {
BI.Resizers.remove(this.getName());
BI.Table.superclass.empty.apply(this, arguments); BI.Table.superclass.empty.apply(this, arguments);
}, },

9
dist/base.js vendored

@ -31005,11 +31005,9 @@ BI.Table = BI.inherit(BI.Widget, {
}; };
this._initNormalScroll(); this._initNormalScroll();
BI.Resizers.add(this.getName(), function (e) { BI.ResizeDetector.addResizeListener(this, function () {
if (self.element.is(":visible") && BI.isWindow(e.target)) { self._resize();
self._resize(); self.fireEvent(BI.Table.EVENT_TABLE_RESIZE);
self.fireEvent(BI.Table.EVENT_TABLE_RESIZE);
}
}); });
BI.nextTick(function () { BI.nextTick(function () {
if (self.element.is(":visible")) { if (self.element.is(":visible")) {
@ -32035,7 +32033,6 @@ BI.Table = BI.inherit(BI.Widget, {
}, },
empty: function () { empty: function () {
BI.Resizers.remove(this.getName());
BI.Table.superclass.empty.apply(this, arguments); BI.Table.superclass.empty.apply(this, arguments);
}, },

9
src/base/table/table.js

@ -887,11 +887,9 @@ BI.Table = BI.inherit(BI.Widget, {
}; };
this._initNormalScroll(); this._initNormalScroll();
BI.Resizers.add(this.getName(), function (e) { BI.ResizeDetector.addResizeListener(this, function () {
if (self.element.is(":visible") && BI.isWindow(e.target)) { self._resize();
self._resize(); self.fireEvent(BI.Table.EVENT_TABLE_RESIZE);
self.fireEvent(BI.Table.EVENT_TABLE_RESIZE);
}
}); });
BI.nextTick(function () { BI.nextTick(function () {
if (self.element.is(":visible")) { if (self.element.is(":visible")) {
@ -1917,7 +1915,6 @@ BI.Table = BI.inherit(BI.Widget, {
}, },
empty: function () { empty: function () {
BI.Resizers.remove(this.getName());
BI.Table.superclass.empty.apply(this, arguments); BI.Table.superclass.empty.apply(this, arguments);
}, },

Loading…
Cancel
Save