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

Evergreen Git git at git.evergreen-ils.org
Mon Jun 11 15:49:22 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  e31c4337304ae6ebe819011ad8e1bd396acd0761 (commit)
      from  b2accc1c971205414d022c37cdc57af0d13749e4 (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 e31c4337304ae6ebe819011ad8e1bd396acd0761
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 19fc6d7..89313fb 100644
--- a/Open-ILS/xul/staff_client/server/cat/copy_browser.js
+++ b/Open-ILS/xul/staff_client/server/cat/copy_browser.js
@@ -428,7 +428,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