Filemanager: Fix superuser logout button did not work

This commit is contained in:
nathangray 2021-03-29 09:23:42 -06:00
parent 35d8411585
commit 69a5bcf3a1
2 changed files with 2 additions and 2 deletions

View File

@ -973,7 +973,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');

View File

@ -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: