]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
fixup prune field usage
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 23 Nov 2020 07:08:12 +0000 (08:08 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 23 Nov 2020 07:08:12 +0000 (08:08 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/form/PruneKeepField.js
src/panel/PruneKeepPanel.js

index a3a45fcc340e6a5f7a92a0c35ecb9b21db8505f2..ca832d3b47a33405790b1676210a4318a2dabda1 100644 (file)
@@ -1,4 +1,4 @@
-Ext.define('Proxmox.form.PruneKeepField', {
+Ext.define('Proxmox.form.field.PruneKeep', {
     extend: 'Proxmox.form.field.Integer',
     xtype: 'pmxPruneKeepField',
 
index 441276ed40d5f4a7e782d44214eae7054f1fb693..139d511c7e9016daa3d555841af7f8b08e2a7abc 100644 (file)
@@ -14,7 +14,7 @@ Ext.define('Proxmox.panel.PruneInputPanel', {
 
     column1: [
        {
-           xtype: 'pmxPruneKeepInput',
+           xtype: 'pmxPruneKeepField',
            name: 'keep-last',
            fieldLabel: gettext('keep-last'),
            cbind: {
@@ -22,7 +22,7 @@ Ext.define('Proxmox.panel.PruneInputPanel', {
            },
        },
        {
-           xtype: 'pmxPruneKeepInput',
+           xtype: 'pmxPruneKeepField',
            name: 'keep-daily',
            fieldLabel: gettext('Keep Daily'),
            cbind: {
@@ -30,7 +30,7 @@ Ext.define('Proxmox.panel.PruneInputPanel', {
            },
        },
        {
-           xtype: 'pmxPruneKeepInput',
+           xtype: 'pmxPruneKeepField',
            name: 'keep-monthly',
            fieldLabel: gettext('Keep Monthly'),
            cbind: {
@@ -40,7 +40,7 @@ Ext.define('Proxmox.panel.PruneInputPanel', {
     ],
     column2: [
        {
-           xtype: 'pmxPruneKeepInput',
+           xtype: 'pmxPruneKeepField',
            fieldLabel: gettext('Keep Hourly'),
            name: 'keep-hourly',
            cbind: {
@@ -48,7 +48,7 @@ Ext.define('Proxmox.panel.PruneInputPanel', {
            },
        },
        {
-           xtype: 'pmxPruneKeepInput',
+           xtype: 'pmxPruneKeepField',
            name: 'keep-weekly',
            fieldLabel: gettext('Keep Weekly'),
            cbind: {
@@ -56,7 +56,7 @@ Ext.define('Proxmox.panel.PruneInputPanel', {
            },
        },
        {
-           xtype: 'pmxPruneKeepInput',
+           xtype: 'pmxPruneKeepField',
            name: 'keep-yearly',
            fieldLabel: gettext('Keep Yearly'),
            cbind: {