mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-06 10:29:59 +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
|
// set on use for now
|
||||||
//onlineHelp: 'maintenance_pruning',
|
//onlineHelp: 'maintenance_pruning',
|
||||||
|
|
||||||
|
keepLastEmptyText: '',
|
||||||
|
|
||||||
cbindData: function() {
|
cbindData: function() {
|
||||||
let me = this;
|
let me = this;
|
||||||
me.isCreate = !!me.isCreate;
|
me.isCreate = !!me.isCreate;
|
||||||
@ -19,6 +21,7 @@ Ext.define('Proxmox.panel.PruneInputPanel', {
|
|||||||
fieldLabel: gettext('keep-last'),
|
fieldLabel: gettext('keep-last'),
|
||||||
cbind: {
|
cbind: {
|
||||||
deleteEmpty: '{!isCreate}',
|
deleteEmpty: '{!isCreate}',
|
||||||
|
emptyText: '{keepLastEmptyText}',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user