]> git.proxmox.com Git - pmg-gui.git/commitdiff
quarantine list: code cleanup
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 Mar 2021 18:24:51 +0000 (19:24 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 Mar 2021 18:24:51 +0000 (19:24 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/QuarantineList.js

index ede20f1525b71d08e2d6c733be2d09adbded2aef..bc1701db43e417744fe056c2eb6aab44bd1f8865 100644 (file)
@@ -221,18 +221,18 @@ Ext.define('PMG.QuarantineList', {
        },
        items: [
            {
+               xtype: 'datefield',
+               name: 'from',
                fieldLabel: gettext('Since'),
                reference: 'from',
-               xtype: 'datefield',
                format: 'Y-m-d',
-               name: 'from',
            },
            {
+               xtype: 'datefield',
+               name: 'to',
                fieldLabel: gettext('Until'),
                reference: 'to',
-               xtype: 'datefield',
                format: 'Y-m-d',
-               name: 'to',
            },
            {
                xtype: 'combobox',