Fix the ACME plugin edit form not detecting dirtychanges to the values
of textfields properly.

Signed-off-by: Filip Schauer <[email protected]>
---
 src/window/ACMEPluginEdit.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/window/ACMEPluginEdit.js b/src/window/ACMEPluginEdit.js
index 0f21527..f6d1bcd 100644
--- a/src/window/ACMEPluginEdit.js
+++ b/src/window/ACMEPluginEdit.js
@@ -126,7 +126,7 @@ Ext.define('Proxmox.window.ACMEPluginEdit', {
                for (const [key, value] of Object.entries(data)) {
                    if (me.createdFields[key]) {
                        me.createdFields[key].setValue(value);
-                       me.createdFields[key].originalValue = 
me.originalValues[key];
+                       me.createdFields[key].resetOriginalValue();
                    } else {
                        extradata.push(`${key}=${value}`);
                    }
-- 
2.39.2



_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to