[pmg-devel] [PATCH pmg-gui v2 1/2] fix #2504: add checkbox for overwriting selectors

Stoiko Ivanov s.ivanov at proxmox.com
Tue Jan 14 19:31:36 CET 2020


Add a checkbox with descriptive label for the force parameter of
config/dkim/selector.

Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 js/DKIMSettings.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/js/DKIMSettings.js b/js/DKIMSettings.js
index a92a033..590f759 100644
--- a/js/DKIMSettings.js
+++ b/js/DKIMSettings.js
@@ -149,6 +149,11 @@ Ext.define('PMG.DKIMSettings', {
 			    ['4096', '4096'],
 			    ['8192', '8192']
 			]
+		    },
+		    {
+			xtype: 'proxmoxcheckbox',
+			name: 'force',
+			fieldLabel: gettext('Overwrite existing file'),
 		    }
 		]
 	    }
-- 
2.20.1




More information about the pmg-devel mailing list