[pve-devel] [PATCH widget-toolkit 4/5] webhook edit: add emptytext to key-value fields
Dominik Csapak
d.csapak at proxmox.com
Tue Nov 12 15:41:55 CET 2024
namely 'Key' and 'Value'
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
src/panel/WebhookEditPanel.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/panel/WebhookEditPanel.js b/src/panel/WebhookEditPanel.js
index 8b76d0a..69a38f5 100644
--- a/src/panel/WebhookEditPanel.js
+++ b/src/panel/WebhookEditPanel.js
@@ -282,7 +282,7 @@ Ext.define('Proxmox.form.WebhookKeyValueList', {
me.lookup('grid').getStore().add({
headerName: '',
headerValue: '',
- emptyText: '',
+ emptyText: gettext('Value'),
newValue: true,
});
},
@@ -357,6 +357,7 @@ Ext.define('Proxmox.form.WebhookKeyValueList', {
maskRe: me.maskRe,
allowBlank: false,
queryMode: 'local',
+ emptyText: gettext('Key'),
listeners: {
change: 'itemChange',
},
--
2.39.5
More information about the pve-devel
mailing list