]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1849372 Close all open dialogs on Angular route change
authorBill Erickson <berickxx@gmail.com>
Tue, 22 Oct 2019 19:54:13 +0000 (15:54 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 23 Oct 2019 13:07:56 +0000 (09:07 -0400)
commitb31b35ed486ce8b6723d97c454049444d52ff738
tree68336a1fac20e896219c72a2d0d442f95052e32c
parent14385443b65ace59a21470eb5ad2406b9915c7da
LP1849372 Close all open dialogs on Angular route change

On all angular route changes, force close any open dialogs, since it
makes little sense for them to persist across interfaces.

To test:

[1] Navigate to Server Administration
[2] Navigate to Age Hold Protection Rule Configuration
[3] Double-click a grid row to open an edit dialog
[4] Click browser back button to return to the Server Admin page
[5] Confirm edit dialog closes once the navigation is complete.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/eg2/src/app/app.component.ts
Open-ILS/src/eg2/src/app/share/dialog/dialog.component.ts