Fix error egw_keycode_translation_function is not defined

This commit is contained in:
Hadi Nategh 2021-07-06 14:53:56 +02:00
parent 75fddd325b
commit 70faf346e4
2 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,7 @@ import {
* egw key constants as listed above. This key codes were chosen to match the
* 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
if (_nativeKeyCode >= 96 && _nativeKeyCode <= 105)
{

View File

@ -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 {egw_getObjectManager} from '../../api/js/egw_action/egw_action.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
*/