[open-ils-commits] [GIT] Evergreen ILS branch rel_2_5 updated. d3803a91197c8b8d0eec791016f2c2617c2ef085
Evergreen Git
git at git.evergreen-ils.org
Thu Feb 13 00:15:18 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, rel_2_5 has been updated
via d3803a91197c8b8d0eec791016f2c2617c2ef085 (commit)
from d31f13efa5ae244f4a0aaf520d06cb9edd1c738b (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 d3803a91197c8b8d0eec791016f2c2617c2ef085
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