Files
beef/public/javascript/ui/panel/ZombieTabs.js
mosse.benjamin de7a05ad5d adding checkbox support to distributed tree panels
git-svn-id: https://beef.googlecode.com/svn/trunk@627 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2010-12-21 10:31:37 +00:00

27 lines
647 B
JavaScript

ZombieTabs = function(zombie_tree_list) {
//a variable to store the list of trees.
this.tree_items = new Array;
//we store the list of trees in a correct array format for ExtJs
for(tree in zombie_tree_list) {
this.tree_items.push(zombie_tree_list[tree]);
}
MainPanel.superclass.constructor.call(this, {
id: 'zombie-tree-tabs-panel',
title: 'Hooked Browsers',
headerAsText: true,
tabPosition: 'bottom',
region:'west',
activeTab: 0,
margins:'0 5 5 5',
width: 225,
minSize: 175,
maxSize: 400,
deferredRender: false,
items: this.tree_items
});
};
Ext.extend(ZombieTabs, Ext.TabPanel);