]> git.proxmox.com Git - pmg-gui.git/commitdiff
SpamDetectorOptions.js - new option bounce_score
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 6 Oct 2017 09:44:52 +0000 (11:44 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 6 Oct 2017 09:44:52 +0000 (11:44 +0200)
js/SpamDetectorConfiguration.js
js/SpamDetectorOptions.js

index 5190017d1a8e30aa50f809c18f550a1e284d5c42..6b820eeaf772baa9942286b09b674ea11ca7eca5 100644 (file)
@@ -17,10 +17,6 @@ Ext.define('PMG.SpamDetectorConfiguration', {
            title: gettext('Quarantine'),
            xtype: 'pmgSpamQuarantineOptions'
        },
-       {
-           title: gettext('Backscatter'),
-           html: 'Backscatter'
-       },
        {
            title: gettext('Theme'),
            html: 'Theme'
index 218b0f516e9fbeb823fd9af0d55966eb30944b08..45c315ae47d2faf7de2625e4602951c1db48612d 100644 (file)
@@ -32,6 +32,11 @@ Ext.define('PMG.SpamDetectorOptions', {
            }
        };
 
+       me.add_integer_row('bounce_score', gettext('Backscatter Score'),
+                          { defaultValue: 0,
+                            minValue: 0, maxValue: 1000,
+                            deleteEmpty: true });
+
        var baseurl = '/config/spam';
 
        me.selModel = Ext.create('Ext.selection.RowModel', {});