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>
Thu, 22 Feb 2018 19:11:30 +0000 (14:11 -0500)
commitf49e803ebc6752d52fdf17fa157bfc41e362e7fc
tree39b7006e39ed9b5d4a1fb1a6a9be0d16a8e9f987
parent1975182c7c8d94f520c5a082da07aaae969fdfc8
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