Filemanager: Fix superuser logout button did not work

This commit is contained in:
nathangray 2021-03-29 09:23:42 -06:00
parent 8fbcb8788e
commit 6bd4685184
2 changed files with 2 additions and 2 deletions

View File

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

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: