Revert commit #52857

This commit is contained in:
Hadi Nategh 2015-06-02 08:57:26 +00:00
parent c365c386e9
commit b5dc84fc09

View File

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