]> 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:11 +0000 (09:07 -0400)
commit2309b603a0413a014b92a88e65c2a508a84269eb
treec0d180655cd5d6fc6100ab16f0afe4263d25b13a
parentd0b801b04e2471d0e112fad1a6ed2d779c4800d2
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