(js) Fix trigger when ordering mail filters

Cont'd.
This commit is contained in:
Francis Lachapelle
2018-08-20 10:41:21 -04:00
parent fc8f57f55d
commit 949edaa94d
2 changed files with 11 additions and 1 deletions
@@ -227,6 +227,16 @@
form.$setDirty();
};
this.onFiltersOrderChanged = function(form) {
// Return a callback that will affect the form
if (!this._onFiltersOrderChanged) {
this._onFiltersOrderChanged = function(type) {
form.$setDirty();
};
}
return this._onFiltersOrderChanged;
};
this.addDefaultEmailAddresses = function(form) {
var v = [];