summaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2023-10-11 10:53:35 +0300
committermoisseev <moiseev@mezonplus.ru>2023-10-11 10:53:35 +0300
commitd79888f8efcbbb7263e021b73c3f9f94e4f8549b (patch)
tree19811e2db74dad87e83ff9bd29dab245310928d7 /interface
parentaf3e90f67cc5e96238395f7b38282781f1bd64d5 (diff)
downloadrspamd-d79888f8efcbbb7263e021b73c3f9f94e4f8549b.tar.gz
rspamd-d79888f8efcbbb7263e021b73c3f9f94e4f8549b.zip
[Minor] Remove unused FooTable hook
as the ability to set dropdown value through the FooTable options is not used in the project.
Diffstat (limited to 'interface')
-rw-r--r--interface/js/app/rspamd.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js
index 67b60d973..763579ca6 100644
--- a/interface/js/app/rspamd.js
+++ b/interface/js/app/rspamd.js
@@ -824,19 +824,6 @@ function ($, visibility, NProgress, stickyTabs, tab_stat, tab_graph, tab_config,
self.removeFilter("action");
}
self.filter();
- },
- draw: function () {
- this._super();
- var action = this.find("action");
- if (action instanceof FooTable.Filter) {
- if (action.query.val() === "reject -soft") {
- this.$action.val("reject");
- } else {
- this.$action.val(action.query.val());
- }
- } else {
- this.$action.val(this.def);
- }
}
});
/* eslint-enable consistent-this, no-underscore-dangle, one-var-declaration-per-line */