From 68c76ba0d6303c26671097a51e1cc417030ceb58 Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 29 Nov 2017 17:54:14 +0800 Subject: [PATCH] Merge remote-tracking branch 'remotes/origin/BI4.1' # Conflicts: # dist/bundle.min.js --- dist/fix/fix.compact.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dist/fix/fix.compact.js b/dist/fix/fix.compact.js index b889edb023..83de703465 100644 --- a/dist/fix/fix.compact.js +++ b/dist/fix/fix.compact.js @@ -74,6 +74,15 @@ this.store && (this.store._parent = null, this.store = null); } + _.each(["mounted", "populate"], function (name) { + var old = BI.Widget.prototype[name]; + old && BI.Widget.prototype[name] = function () { + this.store && pushTarget(this.store); + return old.apply(this, arguments); + this.store && popTarget(); + }; + }) + _.each(["each", "map", "reduce", "reduceRight", "find", "filter", "reject", "every", "all", "some", "any", "max", "min", "sortBy", "groupBy", "indexBy", "countBy", "partition", "keys", "allKeys", "values", "pairs", "invert",