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

Stoiko Ivanov s.ivanov at proxmox.com
Thu Dec 5 14:01:43 CET 2019


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 | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/js/DKIMSettings.js b/js/DKIMSettings.js
index a92a033..89dc807 100644
--- a/js/DKIMSettings.js
+++ b/js/DKIMSettings.js
@@ -149,6 +149,14 @@ Ext.define('PMG.DKIMSettings', {
 			    ['4096', '4096'],
 			    ['8192', '8192']
 			]
+		    },
+		    {
+			xtype: 'proxmoxcheckbox',
+			name: 'force',
+			uncheckedValue: 0,
+			defaultValue: 0,
+			checked: false,
+			fieldLabel: gettext('Overwrite existing file'),
 		    }
 		]
 	    }
-- 
2.20.1




More information about the pmg-devel mailing list