LP#1676608: conditionally enable manage copy alerts button on item status details
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 7 Feb 2018 21:30:04 +0000 (16:30 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 7 Feb 2018 21:30:04 +0000 (16:30 -0500)
commit249e857ff0dce3f6b9030a9a299bf36be1c4b1a4
treee80d3f96bb6eb12af82010c6daeb27c5dc894df9
parentdc1ed4eec371efe05c17c951e8b3974a5a40cb0f
LP#1676608: conditionally enable manage copy alerts button on item status details

The 'Manage' button for copy alerts on the Item Status Detail view
is now enabled only if there is at least one active copy alert. This
patch also tweaks how the copy alert dialogs sequence record update
and modal-closing so that the caller can be sure that the transaction
has committed.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2
Open-ILS/web/js/ui/default/staff/cat/item/app.js
Open-ILS/web/js/ui/default/staff/services/ui.js