diff --git a/js/SpamDetectorConfiguration.js b/js/SpamDetectorConfiguration.js index 5190017..6b820ee 100644 --- a/js/SpamDetectorConfiguration.js +++ b/js/SpamDetectorConfiguration.js @@ -17,10 +17,6 @@ Ext.define('PMG.SpamDetectorConfiguration', { title: gettext('Quarantine'), xtype: 'pmgSpamQuarantineOptions' }, - { - title: gettext('Backscatter'), - html: 'Backscatter' - }, { title: gettext('Theme'), html: 'Theme' diff --git a/js/SpamDetectorOptions.js b/js/SpamDetectorOptions.js index 218b0f5..45c315a 100644 --- a/js/SpamDetectorOptions.js +++ b/js/SpamDetectorOptions.js @@ -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', {});