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

Evergreen Git git at git.evergreen-ils.org
Wed Oct 3 12:03:25 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  ed4c91efd0b2994f465405a790f308d5e1c36af0 (commit)
      from  f3e2ab810f0cf504445ddf166dce0596c421b9a3 (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 ed4c91efd0b2994f465405a790f308d5e1c36af0
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