[open-ils-commits] [GIT] Evergreen ILS branch rel_2_8 updated. 3a6c933ef2feb7ffaecb278715f1ff884af42153

Evergreen Git git at git.evergreen-ils.org
Thu Jul 23 13:54:42 EDT 2015


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_8 has been updated
       via  3a6c933ef2feb7ffaecb278715f1ff884af42153 (commit)
      from  1efba768930e58dc890b9d2dd291554c32e20c2c (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 3a6c933ef2feb7ffaecb278715f1ff884af42153
Author: Jeff Davis <jdavis at sitka.bclibraries.ca>
Date:   Mon Jun 1 16:16:25 2015 -0700

    LP#1477677 - fix JS TypeError that prevents stat cats from displaying in stat cat editor
    
    Signed-off-by: Jeff Davis <jdavis at sitka.bclibraries.ca>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/xul/staff_client/server/admin/stat_cat_editor.js b/Open-ILS/xul/staff_client/server/admin/stat_cat_editor.js
index 32bffae..acfbaff 100644
--- a/Open-ILS/xul/staff_client/server/admin/stat_cat_editor.js
+++ b/Open-ILS/xul/staff_client/server/admin/stat_cat_editor.js
@@ -211,7 +211,7 @@ function scInsertCat( tbody, cat, type ) {
     else 
         unHideMe($n(row, 'sc_opac_invisible'));
 
-    if(cat.sip_field().length != 2)
+    if(cat.sip_field() !== null && cat.sip_field().length != 2)
         unHideMe($n(row, 'sc_sip_field_none'));
     else {
         $n(row, 'sc_sip_field_value').appendChild( text( cat.sip_field() ) );

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

Summary of changes:
 .../staff_client/server/admin/stat_cat_editor.js   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list