]> git.evergreen-ils.org Git - contrib/Conifer.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)
committerDan Scott <dan@coffeecode.net>
Fri, 3 Jan 2020 19:31:25 +0000 (14:31 -0500)
commitf1c7cb2e5818c12df32664ffd4cdbb6cb21a8fb8
tree2d070411d2c08f96f7ae454ca27aace336812ea9
parent49afe5612b498b7a10ba082e261bf76cb162f81a
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