SpamDetectorOptions.js - new option bounce_score

This commit is contained in:
Dietmar Maurer 2017-10-06 11:44:52 +02:00
parent 9114dc424f
commit d853d9a254
2 changed files with 5 additions and 4 deletions

View File

@ -17,10 +17,6 @@ Ext.define('PMG.SpamDetectorConfiguration', {
title: gettext('Quarantine'), title: gettext('Quarantine'),
xtype: 'pmgSpamQuarantineOptions' xtype: 'pmgSpamQuarantineOptions'
}, },
{
title: gettext('Backscatter'),
html: 'Backscatter'
},
{ {
title: gettext('Theme'), title: gettext('Theme'),
html: 'Theme' html: 'Theme'

View 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'; var baseurl = '/config/spam';
me.selModel = Ext.create('Ext.selection.RowModel', {}); me.selModel = Ext.create('Ext.selection.RowModel', {});