]> 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:35 +0000 (09:07 -0400)
commit5e42bc97f82ef79b8383bbc5a1ee41e0a4fed308
treea27b3e2a95c92fd03dc33fe200af1eb89f1eafc8
parent4b8dcbbce95c38813cdb2e598fd70f63303e87b6
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