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

Evergreen Git git at git.evergreen-ils.org
Mon Jan 30 17:43:43 EST 2012


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  6a775e8d1a413be7a60df4dfc40918521efd812b (commit)
      from  244e0c8d95beee304caa5f0f17a1137b31569646 (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 6a775e8d1a413be7a60df4dfc40918521efd812b
Author: Jason Stephenson <jstephenson at mvlc.org>
Date:   Mon Jan 30 16:38:34 2012 -0500

    Fix "Add Volumes" entry in "Actions for this Record" menu
    
    A typo in Open-ILS/xul/staff_client/chrome/content/cat/opac.js (cbdObj
    instead of cbsObj) led to the exception "Reference error: cbdObj is not
    defined" being thrown any time the "Add Volumes" entry was chosen.
    
    Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
    Signed-off-by: Dan Scott <dscott at laurentian.ca>

diff --git a/Open-ILS/xul/staff_client/chrome/content/cat/opac.js b/Open-ILS/xul/staff_client/chrome/content/cat/opac.js
index 659d652..4bd3128 100644
--- a/Open-ILS/xul/staff_client/chrome/content/cat/opac.js
+++ b/Open-ILS/xul/staff_client/chrome/content/cat/opac.js
@@ -948,7 +948,7 @@ function add_volumes() {
                 [ ses(), bibObj.source() ]
             );
 
-            if (cbdObj && cbsObj.can_have_copies() != get_db_true()) {
+            if (cbsObj && cbsObj.can_have_copies() != get_db_true()) {
                 alert(document.getElementById('offlineStrings').getFormattedString('staff.cat.bib_source.can_have_copies.false', [cbsObj.source()]));
                 return;
             }

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

Summary of changes:
 .../xul/staff_client/chrome/content/cat/opac.js    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list