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

Evergreen Git git at git.evergreen-ils.org
Wed Oct 3 12:03:01 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, master has been updated
       via  8c961dcf893b975b20bcf1db4a1afd95d0f37df5 (commit)
      from  cad06040e5dff0f8daad688c99ce22ffc55ff747 (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 8c961dcf893b975b20bcf1db4a1afd95d0f37df5
Author: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
Date:   Mon May 14 14:50:43 2012 -0400

    Copy Location Order Editor: avoid interface failure with blank area
    
    Symptom is "ll is undefined" at line 65 of previous version of this
    file.
    
    Reported by George Duimovich and John Jones.
    
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/web/js/ui/default/conify/global/asset/copy_location_order.js b/Open-ILS/web/js/ui/default/conify/global/asset/copy_location_order.js
index 5032b34..e11f34f 100644
--- a/Open-ILS/web/js/ui/default/conify/global/asset/copy_location_order.js
+++ b/Open-ILS/web/js/ui/default/conify/global/asset/copy_location_order.js
@@ -51,10 +51,13 @@ function filterGrid(org) {
     var locs = [];
 
     // sort and append by existing order settings
-    dojo.forEach(orders, 
+    dojo.forEach(
+        orders,
         function(order) {
-            locs.push( 
-                locations.filter(function(l) {return l.id() == order.location()})[0] 
+            locs = locs.concat(
+                locations.filter(
+                    function(l) { return l.id() == order.location(); }
+                )
             );
         }
     );

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

Summary of changes:
 .../conify/global/asset/copy_location_order.js     |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list