From b5dc84fc09fbe0268e2fa5629e4ce06b1357f082 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 2 Jun 2015 08:57:26 +0000 Subject: [PATCH] Revert commit #52857 --- phpgwapi/js/egw_action/egw_keymanager.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/phpgwapi/js/egw_action/egw_keymanager.js b/phpgwapi/js/egw_action/egw_keymanager.js index 3db59d643d..dcaea114bd 100644 --- a/phpgwapi/js/egw_action/egw_keymanager.js +++ b/phpgwapi/js/egw_action/egw_keymanager.js @@ -272,11 +272,7 @@ function egw_keyHandler(_keyCode, _shift, _ctrl, _alt) { var appMgr = egw_getAppObjectManager(false); if (appMgr) { - var focusedObject = appMgr.getSelectedObjects(); - if(focusedObject.length) - { - focusedObject = focusedObject[0] || false; - } + var focusedObject = appMgr.getFocusedObject(); if (!focusedObject) {