dkim selector: use autoLoad config of store

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-01-21 09:19:35 +01:00
parent 39b73de789
commit 7de008cc1c

View File

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