mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
Mail: Fix pressing delete without selected mail deletes first mail when mail is not the open app when you log in
This commit is contained in:
parent
748e2ee70e
commit
6bd5388131
@ -209,7 +209,8 @@ app.classes.mail = AppJS.extend(
|
|||||||
this.mail_isMainWindow = true;
|
this.mail_isMainWindow = true;
|
||||||
|
|
||||||
// Stop list from focussing next row on keypress
|
// Stop list from focussing next row on keypress
|
||||||
egw_getObjectManager('nm').flags = egwSetBit(egw_getObjectManager('nm').flags, EGW_AO_FLAG_DEFAULT_FOCUS, false);
|
let aom = egw_getObjectManager('mail').getObjectById('nm');
|
||||||
|
aom.flags = egwSetBit(aom.flags, EGW_AO_FLAG_DEFAULT_FOCUS, false);
|
||||||
|
|
||||||
// Set preview pane state
|
// Set preview pane state
|
||||||
this.mail_disablePreviewArea(!this.getPreviewPaneState());
|
this.mail_disablePreviewArea(!this.getPreviewPaneState());
|
||||||
|
Loading…
Reference in New Issue
Block a user