[open-ils-commits] [GIT] Evergreen ILS branch rel_2_12 updated. 454322b737ba5b66b5274ca254c7026899300378

Evergreen Git git at git.evergreen-ils.org
Mon Jul 24 15:33:50 EDT 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_12 has been updated
       via  454322b737ba5b66b5274ca254c7026899300378 (commit)
      from  95c8a5cfe7432ddadbfdb010a6cb016af938f6fc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 454322b737ba5b66b5274ca254c7026899300378
Author: Cesar Velez <cesar.velez at equinoxinitiative.org>
Date:   Fri Jul 14 13:25:44 2017 -0400

    LP#1695062 - webstaff Make non-freetext required stat cats actually required
    
    In the Patron registration form this custom drop down needed to
    have an ng-class attribute with the proper
    object expression in order to do add class ng-invalid if the
    stat cat was required and not there.
    
    Signed-off by: Cesar Velez <cesar.velez at equinoxinitiative.org>
    
    Signed-off-by: Josh Stompro <stomproj at larl.org>
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>

diff --git a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2
index 2b85fd0..76649b7 100644
--- a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2
+++ b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2
@@ -861,7 +861,7 @@ within the "form" by name for validation.
     <div class="col-md-3 reg-field-input">
       <div ng-if="cat.entries().length != 0">
         <div class="btn-group" uib-dropdown>
-          <button type="button" class="btn btn-default" uib-dropdown-toggle>
+          <button type="button" class="btn btn-default" ng-class="{'ng-invalid': cat.required() == 1 && !stat_cat_entry_maps[cat.id()] }" uib-dropdown-toggle>
             <span style="padding-right: 5px;">
               {{stat_cat_entry_maps[cat.id()]}}</span>
             <span class="caret"></span>

-----------------------------------------------------------------------

Summary of changes:
 .../src/templates/staff/circ/patron/t_edit.tt2     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list