diff --git a/application/utils.inc.php b/application/utils.inc.php index 7414a3310..f926b2c3f 100644 --- a/application/utils.inc.php +++ b/application/utils.inc.php @@ -2956,7 +2956,7 @@ HTML; $aResultPref = []; $aShortcutPrefs = appUserPreferences::GetPref('keyboard_shortcuts', []); // Note: Mind the 4 blackslashes, see utils::GetClassesForInterface() - $aShortcutClasses = utils::GetClassesForInterface('Combodo\\iTop\\Application\\UI\\Hook\\iKeyboardShortcut', '', array('[\\\\/]lib[\\\\/]', '[\\\\/]node_modules[\\\\/]', '[\\\\/]test[\\\\/]', '[\\\\/]tests[\\\\/]')); + $aShortcutClasses = utils::GetClassesForInterface('iKeyboardShortcut', '', array('[\\\\/]lib[\\\\/]', '[\\\\/]node_modules[\\\\/]', '[\\\\/]test[\\\\/]', '[\\\\/]tests[\\\\/]')); foreach ($aShortcutClasses as $cShortcutPlugin) { $sTriggeredElement = $cShortcutPlugin::GetShortcutTriggeredElementSelector();