mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:07 +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
5dda1c368c
commit
6791b751c6
@ -201,7 +201,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);
|
var 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