mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Dialog work
Get tracker "Multiple changes" working
This commit is contained in:
parent
634e00f948
commit
e2fc779207
@ -395,6 +395,17 @@ export class Et2Dialog extends Et2Widget(SlotMixin(SlDialog))
|
||||
this.remove();
|
||||
}
|
||||
|
||||
/**
|
||||
* Hide the dialog.
|
||||
* Depending on destroyOnClose, it may be removed as well
|
||||
*
|
||||
* N.B. We can't have open() because it conflicts with SlDialog. Use show() instead.
|
||||
*/
|
||||
close()
|
||||
{
|
||||
this.hide();
|
||||
}
|
||||
|
||||
addOpenListeners()
|
||||
{
|
||||
//super.addOpenListeners();
|
||||
|
@ -453,6 +453,8 @@ export function nm_open_popup(_action, _selected)
|
||||
dialog.destroyOnClose = false;
|
||||
dialog.id = popup.id;
|
||||
popup.removeAttribute("id");
|
||||
// Remove class that hides
|
||||
popup.classList.remove("prompt");
|
||||
|
||||
// Set title
|
||||
let title = popup.querySelector(".promptheader")
|
||||
|
Loading…
Reference in New Issue
Block a user