mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:28:53 +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
e9b054b025
commit
3c732b9caf
@ -1004,7 +1004,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