forked from extern/egroupware
- Reset before applying filters, not after
- Use applyFilters() to change filters instead of directly modifying
This commit is contained in:
parent
95b51fefea
commit
e73eeab637
@ -1102,9 +1102,9 @@ app.classes.mail = AppJS.extend(
|
|||||||
var nm = _widget.getRoot().getWidgetById(this.nm_index);
|
var nm = _widget.getRoot().getWidgetById(this.nm_index);
|
||||||
if(nm)
|
if(nm)
|
||||||
{
|
{
|
||||||
nm.activeFilters['selectedFolder'] = folder;
|
|
||||||
// Changing dataset entirely, force a reset
|
// Changing dataset entirely, force a reset
|
||||||
nm.controller.reset();
|
nm.controller.reset();
|
||||||
|
nm.applyFilters({'selectedFolder': folder});
|
||||||
}
|
}
|
||||||
displayname = _widget.getSelectedLabel();
|
displayname = _widget.getSelectedLabel();
|
||||||
inBraket = displayname.search(/\(/);
|
inBraket = displayname.search(/\(/);
|
||||||
|
Loading…
Reference in New Issue
Block a user