forked from extern/egroupware
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;
|
||||
|
||||
// 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
|
||||
this.mail_disablePreviewArea(!this.getPreviewPaneState());
|
||||
|
Loading…
Reference in New Issue
Block a user