[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. c24e34676132640e5c652383290e4d5a5f705fc3

Evergreen Git git at git.evergreen-ils.org
Thu Oct 18 15:24:14 EDT 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, rel_2_3 has been updated
       via  c24e34676132640e5c652383290e4d5a5f705fc3 (commit)
      from  f0caffee4f0fa32e897903cf6ad9773b0e6cfbe1 (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 c24e34676132640e5c652383290e4d5a5f705fc3
Author: Dan Scott <dscott at laurentian.ca>
Date:   Tue Oct 9 16:49:09 2012 -0400

    Authority popups are empty: fix dojo.query() usage
    
    When you right-click on a controllable field to display the contents of
    the matching authority records, the contents of the matching authority
    records simply appear as empty grey boxes.
    
    This is another case of needing to iterate over multiple values
    separately rather than using one convenient CSS selector.
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>
    Signed-off-by: Bill Erickson <berick at esilibrary.com>

diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js
index 6abd005..39fcca5 100644
--- a/Open-ILS/xul/staff_client/server/cat/marcedit.js
+++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js
@@ -1853,7 +1853,13 @@ function buildAuthorityPopup (entry_text, record, auth_org, auth_id, sf_popup, t
     }
     submenu.appendChild(popup);
 
-    dojo.query('datafield[tag^="1"], datafield[tag^="4"], datafield[tag^="5"]', record).forEach(function(field) {
+    dojo.query('datafield[tag^="1"]', record).forEach(function(field) {
+        buildAuthorityPopupSelector(field, grid, auth_org, auth_id);
+    });
+    dojo.query('datafield[tag^="4"]', record).forEach(function(field) {
+        buildAuthorityPopupSelector(field, grid, auth_org, auth_id);
+    });
+    dojo.query('datafield[tag^="5"]', record).forEach(function(field) {
         buildAuthorityPopupSelector(field, grid, auth_org, auth_id);
     });
 

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

Summary of changes:
 Open-ILS/xul/staff_client/server/cat/marcedit.js |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list