mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 15:49:06 +01:00
Fix "select all" long task threw an error and didn't complete
Progressbar was not found because the load event was never fired from the dialog.
This commit is contained in:
parent
6d38f22949
commit
23977d6c21
@ -697,10 +697,13 @@ export class et2_dataview_selectionManager
|
||||
width: 300
|
||||
});
|
||||
(this._context._widget.getDOMNode() || document.body).appendChild(dialog);
|
||||
dialog.addEventListener('load', function()
|
||||
dialog.updateComplete.then(() =>
|
||||
{
|
||||
// Get access to template widgets
|
||||
progressbar = dialog.template.widgetContainer.getWidgetById('progressbar');
|
||||
dialog.template.DOMContainer.addEventListener('load', function()
|
||||
{
|
||||
// Get access to template widgets
|
||||
progressbar = dialog.template.widgetContainer.getWidgetById('progressbar');
|
||||
});
|
||||
});
|
||||
|
||||
for(var i = 0; i < queryRanges.length; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user