ui: rename pveEditPruneInputPanel to pveBackupJobPrunePanel
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
6022f36fd0
commit
1f30e66155
@ -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 \
|
||||
|
@ -368,7 +368,7 @@ Ext.define('PVE.dc.BackupEdit', {
|
||||
],
|
||||
},
|
||||
{
|
||||
xtype: 'pveEditPruneInputPanel',
|
||||
xtype: 'pveBackupJobPrunePanel',
|
||||
title: gettext('Retention'),
|
||||
isCreate: me.isCreate,
|
||||
keepAllDefaultForCreate: false,
|
||||
|
@ -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();
|
||||
},
|
||||
},
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user