[pmg-devel] [PATCH pmg-gui 1/1] ClamAVDatabase: add scriptedupdates checkbox

Stoiko Ivanov s.ivanov at proxmox.com
Fri Apr 3 19:58:01 CEST 2020


to provide users with a comfortable way of changing between incremental
and complete signature download in case one of the methods has a problem.

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

diff --git a/js/ClamAVDatabase.js b/js/ClamAVDatabase.js
index 43d4e6c..4d8c8b5 100644
--- a/js/ClamAVDatabase.js
+++ b/js/ClamAVDatabase.js
@@ -15,6 +15,8 @@ Ext.define('PMG.ClamAVDatabaseConfig', {
 	/*defaultValue is a string above*/
 	me.add_boolean_row('safebrowsing', gettext('Google Safe Browsing'),
 			   { defaultValue: 1 });
+	me.add_boolean_row('scriptedupdates', gettext('Incremental Download'),
+			   { defaultValue: 0 });
 	/*jslint confusion: false*/
 
 	var baseurl = '/config/clamav';
-- 
2.20.1




More information about the pmg-devel mailing list