]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1739638 AngularJS CSV Download Progress Bar Won't Close
authorDan Briem <dbriem@wlsmail.org>
Thu, 19 Oct 2023 21:20:28 +0000 (21:20 +0000)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 15 Dec 2023 20:55:34 +0000 (15:55 -0500)
commit1841e8753ff29d3b9b9a7e26069a87249535b59e
treeaed35fcf54d978c9c16b28f9b03428a346f87188
parent3977c03ba9a5a4785a41ee7fccf00eebd3811f24
LP#1739638 AngularJS CSV Download Progress Bar Won't Close

Delays text preparation for printing or CSV generation until
after the progress dialog opens, preventing the dialog from
remaining open if the data resolves before it opens and
triggers the close action prematurely.

To test:
- open a populated AngularJS grid
- refresh the page (behavior is more likely after refresh)
- click Download Full CSV or Print Full Grid on the toolbar
- note the progress dialog doesn't close
- apply patch, repeat steps, and note the dialog closes

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/web/js/ui/default/staff/services/grid.js