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

Evergreen Git git at git.evergreen-ils.org
Thu Feb 13 00:14:39 EST 2014


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  fbb73c7bcbcb32ec20ca828d1ba4154e045a762e (commit)
      from  c49b4d90cd4be6b157db8658e5d6cbb04ecf6c70 (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 fbb73c7bcbcb32ec20ca828d1ba4154e045a762e
Author: Pasi Kallinen <pasi.kallinen at pttk.fi>
Date:   Thu Sep 12 11:55:36 2013 +0300

    Fix some javascript errors, trying to access nonexistent widgets
    
    Signed-off-by: Pasi Kallinen <pasi.kallinen at pttk.fi>
    Signed-off-by: Melissa Ceraso <mceraso at biblio.org>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/web/js/ui/default/actor/user/register.js b/Open-ILS/web/js/ui/default/actor/user/register.js
index 629b18c..671502a 100644
--- a/Open-ILS/web/js/ui/default/actor/user/register.js
+++ b/Open-ILS/web/js/ui/default/actor/user/register.js
@@ -1197,6 +1197,7 @@ function checkClaimsReturnCountPerm() {
         'UPDATE_PATRON_CLAIM_RETURN_COUNT',
         function(orgList) { 
             var cr = findWidget('au', 'claims_returned_count');
+            if (!cr) return;
             if(orgList.indexOf(patron.home_ou()) == -1) 
                 cr.widget.attr('disabled', true);
             else
@@ -1213,6 +1214,7 @@ function checkClaimsNoCheckoutCountPerm() {
         'UPDATE_PATRON_CLAIM_NEVER_CHECKED_OUT_COUNT',
         function(orgList) { 
             var cr = findWidget('au', 'claims_never_checked_out_count');
+            if (!cr) return;
             if(orgList.indexOf(patron.home_ou()) == -1) 
                 cr.widget.attr('disabled', true);
             else
@@ -1229,6 +1231,7 @@ function checkCollectionsExemptPerm(cbox) {
     new openils.User().getPermOrgList(
         'UPDATE_PATRON_COLLECTIONS_EXEMPT',
         function(orgList) { 
+            if (!collectExemptCBox) return;
             if(orgList.indexOf(patron.home_ou()) == -1) 
                 collectExemptCBox.attr('disabled', true);
             else

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

Summary of changes:
 Open-ILS/web/js/ui/default/actor/user/register.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list