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

Evergreen Git git at git.evergreen-ils.org
Wed Feb 27 20:14:05 EST 2013


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  626df8689aee92badf6c4607aa023fa0fa3f8b07 (commit)
      from  75e400b05a51cec3f8560cf505d4094128ba659a (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 626df8689aee92badf6c4607aa023fa0fa3f8b07
Author: Jason Etheridge <jason at esilibrary.com>
Date:   Thu Dec 20 13:40:41 2012 -0500

    lp1092644 refresh row with Item Status Edit Volume
    
    Assuming the Trim List box is not selected, this simply refreshes selected rows
    in the Item Status interface that were used to provide context for the Actions
    for Catalogers -> Edit Volumes command. If Trim List is selected, then the items
    are instead re-added to top of the list.
    
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/xul/staff_client/server/circ/copy_status.js b/Open-ILS/xul/staff_client/server/circ/copy_status.js
index a65f871..ca42c3c 100644
--- a/Open-ILS/xul/staff_client/server/circ/copy_status.js
+++ b/Open-ILS/xul/staff_client/server/circ/copy_status.js
@@ -822,6 +822,13 @@ circ.copy_status.prototype = {
                                 }
 
                                 JSAN.use('cat.util'); cat.util.batch_edit_volumes( volumes );
+                                var funcs = [];
+                                for (var i = 0; i < obj.selection_list.length; i++) {
+                                        var barcode = obj.selection_list[i].barcode;
+                                        funcs.push( function(a) { return function() { obj.copy_status( a, true ); }; }(barcode) );
+                                }
+                                for (var i = 0; i < funcs.length; i++) { funcs[i](); }
+
 
                             } catch(E) {
                                 obj.error.standard_unexpected_error_alert('Copy Status -> Volume Edit',E);

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

Summary of changes:
 .../xul/staff_client/server/circ/copy_status.js    |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list