]> git.proxmox.com Git - pve-manager.git/commitdiff
Add class documentation header
authorEmmanuel Kasper <e.kasper@proxmox.com>
Tue, 16 Feb 2016 15:14:14 +0000 (16:14 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 17 Feb 2016 11:06:32 +0000 (12:06 +0100)
www/manager6/panel/ConfigPanel.js

index bfa9211a2d28f4cba93effefe70000ef5b44d091..94f8fbecfb8b2d2a7357e25dcfb892f98a291508 100644 (file)
@@ -1,7 +1,13 @@
+/*
+ * Base class for all the multitab config panels
+ */
 Ext.define('PVE.panel.Config', {
     extend: 'Ext.panel.Panel',
     alias: 'widget.pvePanelConfig',
 
+    showSearch: true, // add a ressource grid with a search button as first tab
+    viewFilter: undefined, // a filter to pass to that ressource grid
+
     initComponent: function() {
         var me = this;
 
@@ -40,7 +46,6 @@ Ext.define('PVE.panel.Config', {
            padding: '0 0 5 0'
        });
 
-       Ext.applyIf(me, { showSearch: true });
 
        if (me.showSearch) {
            items.unshift({