From 7de008cc1ce47e74a7183feefbf43b3b21df1aa9 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 21 Jan 2020 09:19:35 +0100 Subject: [PATCH] dkim selector: use autoLoad config of store Signed-off-by: Thomas Lamprecht --- js/DKIMSettings.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/js/DKIMSettings.js b/js/DKIMSettings.js index f0f378f..85634ab 100644 --- a/js/DKIMSettings.js +++ b/js/DKIMSettings.js @@ -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', {