diff --git a/filemanager/js/app.js b/filemanager/js/app.js index f7eb81d484..4fc0ba2d2f 100644 --- a/filemanager/js/app.js +++ b/filemanager/js/app.js @@ -974,7 +974,7 @@ var filemanagerAPP = /** @class */ (function (_super) { switch (_action) { case 'login': widget.set_label('Logout'); - this.et2.getInstanceMgr().submit(widget); + widget.getRoot().getInstanceManager().submit(widget); break; default: widget.set_label('Superuser'); diff --git a/filemanager/js/app.ts b/filemanager/js/app.ts index d41f0e4820..df39292a77 100644 --- a/filemanager/js/app.ts +++ b/filemanager/js/app.ts @@ -1174,7 +1174,7 @@ export class filemanagerAPP extends EgwApp { case 'login': widget.set_label('Logout'); - this.et2.getInstanceMgr().submit(widget); + widget.getRoot().getInstanceManager().submit(widget); break; default: