[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. f6801714e97cde8dde09f9137b7e2c4a5f019536

Evergreen Git git at git.evergreen-ils.org
Mon Jun 11 15:50:48 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_1 has been updated
       via  f6801714e97cde8dde09f9137b7e2c4a5f019536 (commit)
      from  23cd9af7ca58174389308bae2cf34018ce500305 (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 f6801714e97cde8dde09f9137b7e2c4a5f019536
Author: Jason Etheridge <jason at esilibrary.com>
Date:   Thu Apr 19 22:37:56 2012 -0400

    fix double-click in Holdings Maintenance
    
    so that it won't attempt to spawn the Item Editor for non-items
    
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>
    Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>

diff --git a/Open-ILS/xul/staff_client/server/cat/copy_browser.js b/Open-ILS/xul/staff_client/server/cat/copy_browser.js
index e56944c..6b5180a 100644
--- a/Open-ILS/xul/staff_client/server/cat/copy_browser.js
+++ b/Open-ILS/xul/staff_client/server/cat/copy_browser.js
@@ -379,7 +379,9 @@ cat.copy_browser.prototype = {
                                         }
                                     );
 
-                                    xulG.volume_item_creator( {'existing_copies':list, 'onrefresh' : function() { obj.refresh_list(); } } );
+                                    if (list.length > 0) {
+                                        xulG.volume_item_creator( {'existing_copies':list, 'onrefresh' : function() { obj.refresh_list(); } } );
+                                    }
 
                                 } catch(E) {
                                     obj.error.standard_unexpected_error_alert(document.getElementById('catStrings').getString('staff.cat.copy_browser.edit_items.error'),E);

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

Summary of changes:
 .../xul/staff_client/server/cat/copy_browser.js    |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list