|
|
@ -85,8 +85,8 @@ BI.Tab = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
_keepAlive: function (v) { |
|
|
|
_keepAlive: function (v) { |
|
|
|
var o = this.options; |
|
|
|
var o = this.options; |
|
|
|
var keepAlives = BI.isFunction(o.keepAlives) ? o.keepAlives() : o.keepAlives; |
|
|
|
return BI.isFunction(o.keepAlives) ? o.keepAlives(v) : BI.contains(o.keepAlives, v); |
|
|
|
return BI.contains(keepAlives, v); |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
created: function () { |
|
|
|
created: function () { |
|
|
|