fix / hack print dialogs (Column-selection and Please wait...) to close before printing

This commit is contained in:
ralf 2024-08-25 15:09:00 +02:00
parent 62fbeda480
commit 8cd98ecd18

View File

@ -3145,7 +3145,7 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2
// Should be OK to print now // Should be OK to print now
dialog.updateComplete.then(() => dialog.updateComplete.then(() =>
{ {
resolve(); window.setTimeout(() => resolve(), 500);
}); });
}); });
}, 10 * fetchedCount); }, 10 * fetchedCount);
@ -3175,7 +3175,7 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2
window.setTimeout(function() window.setTimeout(function()
{ {
resolve(); resolve();
}, 0); }, 200);
} }
}.bind(this); }.bind(this);
const value = { const value = {