mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 09:58:16 +01:00
Fixes some errors in vfs widget
This commit is contained in:
parent
e1d24055c2
commit
0def94240f
@ -35,7 +35,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||||||
var et2_core_valueWidget_1 = require("./et2_core_valueWidget");
|
var et2_core_valueWidget_1 = require("./et2_core_valueWidget");
|
||||||
var et2_core_widget_1 = require("./et2_core_widget");
|
var et2_core_widget_1 = require("./et2_core_widget");
|
||||||
var et2_core_inheritance_1 = require("./et2_core_inheritance");
|
var et2_core_inheritance_1 = require("./et2_core_inheritance");
|
||||||
var egw_action_js_1 = require("../egw_action/egw_action.js");
|
|
||||||
var egw_keymanager_js_1 = require("../egw_action/egw_keymanager.js");
|
var egw_keymanager_js_1 = require("../egw_action/egw_keymanager.js");
|
||||||
var et2_widget_textbox_1 = require("./et2_widget_textbox");
|
var et2_widget_textbox_1 = require("./et2_widget_textbox");
|
||||||
var et2_widget_description_1 = require("./et2_widget_description");
|
var et2_widget_description_1 = require("./et2_widget_description");
|
||||||
@ -160,7 +159,7 @@ var et2_vfs = /** @class */ (function (_super) {
|
|||||||
var object = null;
|
var object = null;
|
||||||
var app = this.getInstanceManager().app;
|
var app = this.getInstanceManager().app;
|
||||||
while (links.length === 0 && widget.getParent()) {
|
while (links.length === 0 && widget.getParent()) {
|
||||||
object = egw_action_js_1.egw_getAppObjectManager(app).getObjectById(widget.id);
|
object = egw_getAppObjectManager(app).getObjectById(widget.id);
|
||||||
if (object && object.manager && object.manager.children) {
|
if (object && object.manager && object.manager.children) {
|
||||||
links = object.manager.children;
|
links = object.manager.children;
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
import {et2_valueWidget} from "./et2_core_valueWidget";
|
import {et2_valueWidget} from "./et2_core_valueWidget";
|
||||||
import {et2_createWidget, et2_register_widget, WidgetConfig} from "./et2_core_widget";
|
import {et2_createWidget, et2_register_widget, WidgetConfig} from "./et2_core_widget";
|
||||||
import {ClassWithAttributes} from "./et2_core_inheritance";
|
import {ClassWithAttributes} from "./et2_core_inheritance";
|
||||||
import {egw_getAppObjectManager} from '../egw_action/egw_action.js';
|
|
||||||
import {egw_keyHandler} from '../egw_action/egw_keymanager.js';
|
import {egw_keyHandler} from '../egw_action/egw_keymanager.js';
|
||||||
import {et2_textbox, et2_textbox_ro} from "./et2_widget_textbox";
|
import {et2_textbox, et2_textbox_ro} from "./et2_widget_textbox";
|
||||||
import {et2_description} from "./et2_widget_description";
|
import {et2_description} from "./et2_widget_description";
|
||||||
@ -180,7 +179,7 @@ class et2_vfs extends et2_valueWidget implements et2_IDetachedDOM
|
|||||||
let app = this.getInstanceManager().app;
|
let app = this.getInstanceManager().app;
|
||||||
while(links.length === 0 && widget.getParent())
|
while(links.length === 0 && widget.getParent())
|
||||||
{
|
{
|
||||||
object = egw_getAppObjectManager(app).getObjectById(widget.id);
|
object = (<egwActionObject><unknown>egw_getAppObjectManager(app)).getObjectById(widget.id);
|
||||||
if(object && object.manager && object.manager.children)
|
if(object && object.manager && object.manager.children)
|
||||||
{
|
{
|
||||||
links = object.manager.children;
|
links = object.manager.children;
|
||||||
|
Loading…
Reference in New Issue
Block a user