* [pve-devel] applied: [PATCH manager] ui: storage edit: avoid returning prune values if unsupported
@ 2020-11-25 12:15 Thomas Lamprecht
0 siblings, 0 replies; only message in thread
From: Thomas Lamprecht @ 2020-11-25 12:15 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
---
www/manager6/storage/Base.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/www/manager6/storage/Base.js b/www/manager6/storage/Base.js
index 80bc8002..70e18a81 100644
--- a/www/manager6/storage/Base.js
+++ b/www/manager6/storage/Base.js
@@ -65,6 +65,9 @@ Ext.define('PVE.panel.StoragePruneInputPanel', {
keepLastEmptyText: gettext('1'),
onGetValues: function(formValues) {
+ if (this.needMask) { // isMasked() may not yet be true if not rendered once
+ return {};
+ }
delete formValues.delete;
let retention = PVE.Parser.printPropertyString(formValues)
if (retention === '') {
--
2.20.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-25 12:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-25 12:15 [pve-devel] applied: [PATCH manager] ui: storage edit: avoid returning prune values if unsupported Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox