mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-03 01:04:30 +00:00
prune panel: allow to pass emptyText for keep-last
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
bdabc5633f
commit
9de5e64e53
@ -6,6 +6,8 @@ Ext.define('Proxmox.panel.PruneInputPanel', {
|
||||
// set on use for now
|
||||
//onlineHelp: 'maintenance_pruning',
|
||||
|
||||
keepLastEmptyText: '',
|
||||
|
||||
cbindData: function() {
|
||||
let me = this;
|
||||
me.isCreate = !!me.isCreate;
|
||||
@ -19,6 +21,7 @@ Ext.define('Proxmox.panel.PruneInputPanel', {
|
||||
fieldLabel: gettext('keep-last'),
|
||||
cbind: {
|
||||
deleteEmpty: '{!isCreate}',
|
||||
emptyText: '{keepLastEmptyText}',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user