From 22efb4bc8b03ff7d0f15da508547b0b8c54103da Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 16 Feb 2015 17:17:55 +0800 Subject: [PATCH] Roo/bootstrap/dash/TabBox.js --- Roo/bootstrap/dash/TabBox.js | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/Roo/bootstrap/dash/TabBox.js b/Roo/bootstrap/dash/TabBox.js index ce6c1fd9da..303ac6ddfb 100644 --- a/Roo/bootstrap/dash/TabBox.js +++ b/Roo/bootstrap/dash/TabBox.js @@ -24,7 +24,6 @@ Roo.bootstrap.dash.TabBox = function(config){ Roo.bootstrap.dash.TabBox.superclass.constructor.call(this, config); this.panes = []; - Roo.bootstrap.dash.TabBox.register(this); this.addEvents({ // raw events @@ -157,35 +156,3 @@ Roo.extend(Roo.bootstrap.dash.TabBox, Roo.bootstrap.Component, { }); - - - -Roo.apply(Roo.bootstrap.dash.TabBox, { - - boxes: {}, - /** - * register a TabBox - * @param {Roo.bootstrap.dash.TabBox} the box to add - */ - register : function(box) - { - this.boxes[box.name] = box; - - }, - /** - * fetch a box based on the box name - * if one does not exist , it will get created. - * @param {string} the box name - * @returns {Roo.bootstrap.dash.TabBox} the box - */ - get: function(name) { - if (typeof(this.boxes[name]) == 'undefined') { - this.register(new Roo.bootstrap.dash.TabBox({ name : name })); - } - return this.boxes[name] ; - } - - - -}); - -- 2.39.2