[pbs-devel] [PATCH v3 proxmox-backup 2/2] ui: datastore edit: fix emptytext for path field
Fiona Ebner
f.ebner at proxmox.com
Tue Nov 26 17:29:16 CET 2024
It is a relative path for removable datastores.
Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
No changes in v3.
No changes in v2.
www/window/DataStoreEdit.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/www/window/DataStoreEdit.js b/www/window/DataStoreEdit.js
index 40ccd20a..4a0b8d81 100644
--- a/www/window/DataStoreEdit.js
+++ b/www/window/DataStoreEdit.js
@@ -114,8 +114,10 @@ Ext.define('PBS.DataStoreEdit', {
uuidEditField.setValue('');
if (isRemovable) {
pathField.setFieldLabel(gettext('Path on Device'));
+ pathField.setEmptyText(gettext('A relative path'));
} else {
pathField.setFieldLabel(gettext('Backing Path'));
+ pathField.setEmptyText(gettext('An absolute path'));
}
},
},
--
2.39.5
More information about the pbs-devel
mailing list