forked from extern/egroupware
Since we're changing dataset, force a reset() to clear cache and stuff.
This commit is contained in:
parent
735a1afa43
commit
3f531a29c0
@ -997,6 +997,13 @@ app.classes.mail = AppJS.extend(
|
|||||||
*/
|
*/
|
||||||
mail_changeProfile: function(folder,_widget) {
|
mail_changeProfile: function(folder,_widget) {
|
||||||
// alert(folder);
|
// alert(folder);
|
||||||
|
var nm = _widget.getRoot().getWidgetById(this.nm_index);
|
||||||
|
if(nm)
|
||||||
|
{
|
||||||
|
nm.activeFilters['selectedFolder'] = folder;
|
||||||
|
// Changing dataset entirely, force a reset
|
||||||
|
nm.controller.reset();
|
||||||
|
}
|
||||||
egw.json('mail.mail_ui.ajax_changeProfile',[folder])
|
egw.json('mail.mail_ui.ajax_changeProfile',[folder])
|
||||||
.sendRequest();
|
.sendRequest();
|
||||||
this.mail_refreshMessageGrid();
|
this.mail_refreshMessageGrid();
|
||||||
|
Loading…
Reference in New Issue
Block a user