summaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
authorKumar Akshay <k.akshay9721@gmail.com>2018-02-28 08:40:16 -0800
committerKumar Akshay <k.akshay9721@gmail.com>2018-02-28 08:40:16 -0800
commitd5b16539745e9491957e7922f6d48125cf158bcf (patch)
treeee56fa6828b45555e53bf5c706eb70150cc03e1a /interface
parentc81d77d9e48e12593bfa66e71afb82f46dddfeb0 (diff)
downloadrspamd-d5b16539745e9491957e7922f6d48125cf158bcf.tar.gz
rspamd-d5b16539745e9491957e7922f6d48125cf158bcf.zip
Fix dropbox issue
Diffstat (limited to 'interface')
-rw-r--r--interface/js/app/history.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/interface/js/app/history.js b/interface/js/app/history.js
index af941467f..d31f8e885 100644
--- a/interface/js/app/history.js
+++ b/interface/js/app/history.js
@@ -471,7 +471,11 @@ function($, _, Humanize) {
this._super();
var action = this.find('action');
if (action instanceof FooTable.Filter) {
- this.$action.val(action.query.val());
+ if(action.query.val() === 'reject -soft'){
+ this.$action.val('reject');
+ } else if( action.query.val() != 'reject -soft'){
+ this.$action.val(action.query.val());
+ }
} else {
this.$action.val(this.def);
}