LP#1676608: tweak copy alert type manager
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 22 Feb 2018 21:07:44 +0000 (16:07 -0500)
committerMike Rylander <mrylander@gmail.com>
Wed, 28 Feb 2018 15:26:43 +0000 (10:26 -0500)
The "Next Status" selector is now disabled unless the event type is
'Checkin'.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>

Open-ILS/src/templates/staff/admin/local/autoGridEditor/ccat.tt2

index d4c7c02..6eb816d 100644 (file)
@@ -49,7 +49,8 @@
       <div class="form-group">
         <label for="edit-alert-next-statuses">[% l('Next Status') %]</label>
         <select id="edit-alert-next-statuses" class="form-control" focus-me='focusMe'
-                multiple="multiple" ng-model="record.next_status">
+                multiple="multiple" ng-model="record.next_status"
+                ng-disabled="record.event != 'CHECKIN'">
             <option ng-repeat="s in ccs" value="{{s.id()}}">{{s.name()}}</option>
         </select>
       </div>