]> git.proxmox.com Git - pmg-gui.git/commitdiff
add spam detector option clamav_heuristic_score
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 11 Dec 2017 12:44:01 +0000 (13:44 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 11 Dec 2017 12:44:01 +0000 (13:44 +0100)
js/SpamDetectorOptions.js

index 0eebebe0936491d29e19d73350f04f9e5af2bc14..add508e57a927438e4a14c0dc07aab6efef46386 100644 (file)
@@ -37,6 +37,11 @@ Ext.define('PMG.SpamDetectorOptions', {
                             minValue: 0, maxValue: 1000,
                             deleteEmpty: true });
 
+       me.add_integer_row('clamav_heuristic_score', gettext('Heuristic Score'),
+                          { defaultValue: 3,
+                            minValue: 0, maxValue: 1000,
+                            deleteEmpty: true });
+
        var baseurl = '/config/spam';
 
        me.selModel = Ext.create('Ext.selection.RowModel', {});