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

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, master has been updated
       via  b5a0a740ed9387b04326ab4ba190ec1c26320a81 (commit)
      from  acaa94dd13b27f4d2e0077c58c43ce99d52dbda3 (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 b5a0a740ed9387b04326ab4ba190ec1c26320a81
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