mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
WIP Mail REST API: fix closing dialog closes popup to because dialog was already removed when response was received
This commit is contained in:
parent
3e27def4f9
commit
865d2b3d8d
@ -1022,7 +1022,7 @@ export class Et2Dialog extends Et2Widget(SlotMixin(SlDialog))
|
||||
|
||||
get _contentNode() : HTMLElement
|
||||
{
|
||||
return this.querySelector('.dialog_content') ?? this.querySelector("*");
|
||||
return this.querySelector('.dialog_content');
|
||||
}
|
||||
|
||||
_setupMoveResize()
|
||||
|
@ -46,14 +46,14 @@ export class PreferencesApp extends EgwApp
|
||||
{
|
||||
console.log('app.preferences.addToken', arguments);
|
||||
|
||||
this.dialogExec('preferences.EGroupware\\Preferences\\Token.edit');
|
||||
this.openDialog('preferences.EGroupware\\Preferences\\Token.edit');
|
||||
}
|
||||
|
||||
editToken(_action, _selection)
|
||||
{
|
||||
console.log('app.preferences.editToken', arguments);
|
||||
|
||||
this.dialogExec('preferences.EGroupware\\Preferences\\Token.edit&token_id='+_selection[0].id.split('::')[1]);
|
||||
this.openDialog('preferences.EGroupware\\Preferences\\Token.edit&token_id='+_selection[0].id.split('::')[1]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user