|
|
@ -46,7 +46,7 @@ BI.Tab = BI.inherit(BI.Widget, { |
|
|
|
var card = o.cardCreator.apply(self, arguments); |
|
|
|
var card = o.cardCreator.apply(self, arguments); |
|
|
|
self.cardMap[v] = card; |
|
|
|
self.cardMap[v] = card; |
|
|
|
|
|
|
|
|
|
|
|
return card; |
|
|
|
return card; |
|
|
|
}, |
|
|
|
}, |
|
|
|
afterCardShow: function (v) { |
|
|
|
afterCardShow: function (v) { |
|
|
|
self._deleteOtherCards(v); |
|
|
|
self._deleteOtherCards(v); |
|
|
@ -115,7 +115,7 @@ return card; |
|
|
|
self.layout.deleteCardByName(name); |
|
|
|
self.layout.deleteCardByName(name); |
|
|
|
delete self.cardMap[name]; |
|
|
|
delete self.cardMap[name]; |
|
|
|
|
|
|
|
|
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|