Fix error egw_keymanager_js_1.egw_keyHandler is not a function

This commit is contained in:
Hadi Nategh 2020-03-05 14:53:50 +01:00
parent 0cc7ce12d0
commit a79280e78c
2 changed files with 1 additions and 3 deletions

View File

@ -36,7 +36,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
var et2_core_valueWidget_1 = require("./et2_core_valueWidget");
var et2_core_widget_1 = require("./et2_core_widget");
var et2_core_inheritance_1 = require("./et2_core_inheritance");
var egw_keymanager_js_1 = require("../egw_action/egw_keymanager.js");
var et2_widget_textbox_1 = require("./et2_widget_textbox");
var et2_widget_description_1 = require("./et2_widget_description");
var et2_widget_selectAccount_1 = require("./et2_widget_selectAccount");
@ -177,7 +176,7 @@ var et2_vfs = /** @class */ (function (_super) {
// Wait until object selection happens
window.setTimeout(function () {
// execute default action
egw_keymanager_js_1.egw_keyHandler(EGW_KEY_ENTER, false, false, false);
egw_keyHandler(EGW_KEY_ENTER, false, false, false);
});
// Select row
return true;

View File

@ -22,7 +22,6 @@
import {et2_valueWidget} from "./et2_core_valueWidget";
import {et2_createWidget, et2_register_widget, WidgetConfig} from "./et2_core_widget";
import {ClassWithAttributes} from "./et2_core_inheritance";
import {egw_keyHandler} from '../egw_action/egw_keymanager.js';
import {et2_textbox, et2_textbox_ro} from "./et2_widget_textbox";
import {et2_description} from "./et2_widget_description";
import {et2_selectAccount_ro} from "./et2_widget_selectAccount";