mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 21:51:14 +01:00
Fix error egw_keycode_translation_function is not defined
This commit is contained in:
parent
75fddd325b
commit
70faf346e4
@ -28,7 +28,7 @@ import {
|
|||||||
* egw key constants as listed above. This key codes were chosen to match the
|
* egw key constants as listed above. This key codes were chosen to match the
|
||||||
* key codes of IE and FF.
|
* key codes of IE and FF.
|
||||||
*/
|
*/
|
||||||
var egw_keycode_translation_function = function(_nativeKeyCode) {
|
export var egw_keycode_translation_function = function(_nativeKeyCode) {
|
||||||
// Map the numpad to the 0..9 keys
|
// Map the numpad to the 0..9 keys
|
||||||
if (_nativeKeyCode >= 96 && _nativeKeyCode <= 105)
|
if (_nativeKeyCode >= 96 && _nativeKeyCode <= 105)
|
||||||
{
|
{
|
||||||
|
@ -17,6 +17,7 @@ import {et2_dialog} from "../../api/js/etemplate/et2_widget_dialog";
|
|||||||
import {et2_button} from "../../api/js/etemplate/et2_widget_button";
|
import {et2_button} from "../../api/js/etemplate/et2_widget_button";
|
||||||
import {egw_getObjectManager} from '../../api/js/egw_action/egw_action.js';
|
import {egw_getObjectManager} from '../../api/js/egw_action/egw_action.js';
|
||||||
import {egwIsMobile} from "../../api/js/egw_action/egw_action_common.js";
|
import {egwIsMobile} from "../../api/js/egw_action/egw_action_common.js";
|
||||||
|
import {egw_keycode_translation_function} from "../../api/js/egw_action/egw_keymanager.js";
|
||||||
/* required dependency, commented out because no module, but egw:uses is no longer parsed
|
/* required dependency, commented out because no module, but egw:uses is no longer parsed
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user