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

Evergreen Git git at git.evergreen-ils.org
Mon Dec 17 23:11:44 EST 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  94e7d06d35f5cd3bd3c762bd3edb350f6e0e15f5 (commit)
      from  527dd7fcb83a91dbfb69d1d0de080650e81ffcca (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 94e7d06d35f5cd3bd3c762bd3edb350f6e0e15f5
Author: Thomas Berezansky <tsbere at mvlc.org>
Date:   Thu Feb 9 16:37:48 2012 -0500

    Support barcode autocompletion in copy buckets
    
    By request of our staff, who are lazy.
    
    Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
    Signed-off-by: Michael Peters <mrpeters at library.in.gov>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/xul/staff_client/server/cat/copy_buckets.js b/Open-ILS/xul/staff_client/server/cat/copy_buckets.js
index 47a9a28..3e470ed 100644
--- a/Open-ILS/xul/staff_client/server/cat/copy_buckets.js
+++ b/Open-ILS/xul/staff_client/server/cat/copy_buckets.js
@@ -704,6 +704,13 @@ cat.copy_buckets.prototype = {
         var obj = this;
         try {
             var barcode = obj.controller.view.copy_bucket_barcode_entry_textbox.value;
+            var barcode_object = xulG.get_barcode(window, 'asset', barcode);
+            // user_false means the user said "None of the above", so abort without further prompts/actions
+            if(barcode_object == "user_false") return;
+            if(barcode_object && barcode_object.barcode) {
+                barcode = barcode_object.barcode;
+            }
+
             var copy_obj = obj.network.simple_request('FM_ACP_DETAILS_VIA_BARCODE',[ses(),barcode]);
             if (copy_obj == null) {
                 throw(document.getElementById('circStrings').getString('staff.circ.copy_status.status.null_result'));

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

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


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list