ui: rename pveEditPruneInputPanel to pveBackupJobPrunePanel

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-09-08 12:38:03 +02:00
parent 6022f36fd0
commit 1f30e66155
4 changed files with 6 additions and 6 deletions

View File

@ -79,7 +79,7 @@ JSSRC= \
grid/Replication.js \
grid/ResourceGrid.js \
panel/ConfigPanel.js \
panel/EditPruneInputPanel.js \
panel/BackupJobPrune.js \
panel/HealthWidget.js \
panel/IPSet.js \
panel/NotesView.js \

View File

@ -368,7 +368,7 @@ Ext.define('PVE.dc.BackupEdit', {
],
},
{
xtype: 'pveEditPruneInputPanel',
xtype: 'pveBackupJobPrunePanel',
title: gettext('Retention'),
isCreate: me.isCreate,
keepAllDefaultForCreate: false,

View File

@ -2,9 +2,9 @@
* Input panel for prune settings with a keep-all option intended to be used as
* part of an edit/create window.
*/
Ext.define('PVE.panel.EditPruneInputPanel', {
Ext.define('PVE.panel.BackupJobPrune', {
extend: 'Proxmox.panel.PruneInputPanel',
xtype: 'pveEditPruneInputPanel',
xtype: 'pveBackupJobPrunePanel',
mixins: ['Proxmox.Mixin.CBind'],
onlineHelp: 'vzdump_retention',
@ -70,7 +70,7 @@ Ext.define('PVE.panel.EditPruneInputPanel', {
boxLabel: gettext('Keep all backups'),
listeners: {
change: function(field, newValue) {
let panel = field.up('pveEditPruneInputPanel');
let panel = field.up('pveBackupJobPrunePanel');
panel.updateComponents();
},
},

View File

@ -97,7 +97,7 @@ Ext.define('PVE.storage.BaseEdit', {
items: [
me.ipanel,
{
xtype: 'pveEditPruneInputPanel',
xtype: 'pveBackupJobPrunePanel',
title: gettext('Backup Retention'),
isCreate: me.isCreate,
keepAllDefaultForCreate: true,