Fix keyboard actions changing selection to last clicked row instead of using current user selection.

This commit is contained in:
Nathan Gray 2015-05-28 15:34:58 +00:00
parent 4d15d4b12c
commit 9c1ec7ba62

View File

@ -272,7 +272,11 @@ function egw_keyHandler(_keyCode, _shift, _ctrl, _alt) {
var appMgr = egw_getAppObjectManager(false);
if (appMgr)
{
var focusedObject = appMgr.getFocusedObject();
var focusedObject = appMgr.getSelectedObjects();
if(focusedObject.length)
{
focusedObject = focusedObject[0] || false;
}
if (!focusedObject)
{