X-Git-Url: https://git.proxmox.com/?p=proxmox-widget-toolkit.git;a=blobdiff_plain;f=src%2Fpanel%2FPruneKeepPanel.js;h=5642602e6bf26eac3a845fd5736ffeec7a1e0605;hp=139d511c7e9016daa3d555841af7f8b08e2a7abc;hb=9de5e64e53c387607fc42564c83b0caacad94962;hpb=bdabc5633f809a7c7b29a20edfdbdc2ac99368d7 diff --git a/src/panel/PruneKeepPanel.js b/src/panel/PruneKeepPanel.js index 139d511..5642602 100644 --- a/src/panel/PruneKeepPanel.js +++ b/src/panel/PruneKeepPanel.js @@ -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}', }, }, {