[pve-devel] [PATCH manager] fix #4531: Fix ACME plugin edit form not detecting changes

Filip Schauer f.schauer at proxmox.com
Tue Aug 29 13:16:25 CEST 2023


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

Signed-off-by: Filip Schauer <f.schauer at proxmox.com>
---
 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






More information about the pve-devel mailing list