mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
deactivated autofocusing of a mail on "del" key press
This commit is contained in:
parent
22a39c6a39
commit
8750a9801c
@ -253,6 +253,8 @@ export function egw_keyHandler(_keyCode, _shift, _ctrl, _alt)
|
||||
// If the current application doesn't have a focused object,
|
||||
// check whether the application object manager contains an object
|
||||
// with the EGW_AO_FLAG_DEFAULT_FOCUS flag set.
|
||||
//We should never do this for the delete key(keyCode === 46 ; idx === __46__ ) as one might delete an unselected mail by mistake
|
||||
if(idx !== "__46__") {
|
||||
let egwActionObject:EgwActionObject = null;
|
||||
for (const child of appMgr.children)
|
||||
{
|
||||
@ -270,6 +272,7 @@ export function egw_keyHandler(_keyCode, _shift, _ctrl, _alt)
|
||||
egwActionObject.children[0].setFocused(true);
|
||||
focusedObject = egwActionObject.children[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (focusedObject)
|
||||
|
Loading…
Reference in New Issue
Block a user