]> source.dussan.org Git - rspamd.git/commitdiff
Fix dropbox issue 2041/head
authorKumar Akshay <k.akshay9721@gmail.com>
Wed, 28 Feb 2018 16:40:16 +0000 (08:40 -0800)
committerKumar Akshay <k.akshay9721@gmail.com>
Wed, 28 Feb 2018 16:40:16 +0000 (08:40 -0800)
interface/js/app/history.js

index af941467f41c800c53829f0270b13da205bd0ef4..d31f8e885ffd44b7536f19910440a61e462bb484 100644 (file)
@@ -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);
             }