Browse Source

Merge pull request #456 in VISUAL/fineui from ~DAILER/fineui:master to master

* commit 'c3597428f6e0d6485fad0563f2213ca7aed8d8ae':
  无jira任务,BI.Loader的context问题.
es6
windy 6 years ago
parent
commit
d20e54d5ae
  1. 16
      dist/fix/fix.compact.js

16
dist/fix/fix.compact.js vendored

@ -96,13 +96,15 @@
return result;
};
var populate = BI.Loader.prototype.populate;
BI.Loader.prototype.populate = function () {
pushContext(this);
var result = populate.apply(this, arguments);
popContext();
return result;
};
_.each(["populate", "addItems", "prependItems"], function (name) {
var old = BI.Loader.prototype[name];
BI.Loader.prototype[name] = function () {
pushContext(this);
var result = old.apply(this, arguments);
popContext();
return result;
};
});
var _init = BI.Widget.prototype._init;
BI.Widget.prototype._init = function () {

Loading…
Cancel
Save