]> git.proxmox.com Git - pmg-gui.git/commitdiff
dkim selector: use autoLoad config of store
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Jan 2020 08:19:35 +0000 (09:19 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Jan 2020 08:19:35 +0000 (09:19 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/DKIMSettings.js

index f0f378feed236af55f18efceb5be333eb294b90c..85634aba488e09a5b642433f8941659986ed653a 100644 (file)
@@ -100,6 +100,7 @@ Ext.define('PMG.SelectorList', {
            type: 'proxmox',
            url: '/api2/json/config/dkim/selectors'
        },
+       autoLoad: true,
        sorters: [
            {
                property : 'selector',
@@ -111,14 +112,6 @@ Ext.define('PMG.SelectorList', {
     valueField: 'selector',
     displayField: 'selector',
     allowBlank: false,
-
-    initComponent: function() {
-       var me = this;
-
-       me.callParent();
-       me.store.load();
-    }
-
 });
 
 Ext.define('PMG.DKIMSettings', {