Bladeren bron

[Minor] Remove unused FooTable hook

as the ability to set dropdown value through the FooTable options
is not used in the project.
tags/3.7.2
moisseev 7 maanden geleden
bovenliggende
commit
d79888f8ef
1 gewijzigde bestanden met toevoegingen van 0 en 13 verwijderingen
  1. 0
    13
      interface/js/app/rspamd.js

+ 0
- 13
interface/js/app/rspamd.js Bestand weergeven

@@ -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 */

Laden…
Annuleren
Opslaan