Mail: Make sure pressing [del] key twice in a row does not delete the first row on the second press

Backport of 4cc8eea7b6
This commit is contained in:
nathan 2021-11-29 09:35:53 -07:00
parent 77900b09b3
commit fbba3c56cc

View File

@ -200,6 +200,9 @@ app.classes.mail = AppJS.extend(
var nm = this.et2.getWidgetById(this.nm_index);
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);
// Set preview pane state
this.mail_disablePreviewArea(!this.getPreviewPaneState());