From: Kumar Akshay Date: Wed, 28 Feb 2018 16:40:16 +0000 (-0800) Subject: Fix dropbox issue X-Git-Tag: 1.7.0~99^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2041%2Fhead;p=thirdparty%2Frspamd.git Fix dropbox issue --- diff --git a/interface/js/app/history.js b/interface/js/app/history.js index af941467f4..d31f8e885f 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); }