Mail tree phase2 W.I.P.: Open tree when changing profile

This commit is contained in:
Hadi Nategh 2015-08-05 10:48:34 +00:00
parent 1d264a8b64
commit b12ac79060

View File

@ -1736,7 +1736,10 @@ app.classes.mail = AppJS.extend(
}
// alert(folder);
this.egw.message(this.egw.lang('Connect to Profile %1',_widget.getSelectedLabel().replace(this._unseen_regexp, '')));
//Open unloaded tree to get loaded
_widget.openItem(folder, true);
this.lock_tree();
egw.json('mail_ui::ajax_changeProfile',[folder, getFolders, this.et2._inst.etemplate_exec_id], jQuery.proxy(function() {
// Profile changed, select inbox