[open-ils-commits] [GIT] Evergreen ILS branch master updated. 0eba8e8b68bf214a065bf2e14e84dd7b4893ecee

Evergreen Git git at git.evergreen-ils.org
Mon Jul 24 15:17:59 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, master has been updated
       via  0eba8e8b68bf214a065bf2e14e84dd7b4893ecee (commit)
      from  2fb49f840683d10e1d7c84722d0d5d49e46b17c6 (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 0eba8e8b68bf214a065bf2e14e84dd7b4893ecee
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