mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-25 14:41:50 +01:00
Mail tree phase2 W.I.P.: Open tree when changing profile
This commit is contained in:
parent
1d264a8b64
commit
b12ac79060
@ -1737,6 +1737,9 @@ app.classes.mail = AppJS.extend(
|
|||||||
// alert(folder);
|
// alert(folder);
|
||||||
this.egw.message(this.egw.lang('Connect to Profile %1',_widget.getSelectedLabel().replace(this._unseen_regexp, '')));
|
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();
|
this.lock_tree();
|
||||||
egw.json('mail_ui::ajax_changeProfile',[folder, getFolders, this.et2._inst.etemplate_exec_id], jQuery.proxy(function() {
|
egw.json('mail_ui::ajax_changeProfile',[folder, getFolders, this.et2._inst.etemplate_exec_id], jQuery.proxy(function() {
|
||||||
// Profile changed, select inbox
|
// Profile changed, select inbox
|
||||||
|
Loading…
Reference in New Issue
Block a user