[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_5 updated. d4d4006742e1c0138a11825ec6bb9066fcb014f6

Evergreen Git git at git.evergreen-ils.org
Mon Jan 20 17:09:07 EST 2014


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_5 has been updated
       via  d4d4006742e1c0138a11825ec6bb9066fcb014f6 (commit)
      from  35138ea9811f166bf5c01d42879b3b9320d9053f (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 d4d4006742e1c0138a11825ec6bb9066fcb014f6
Author: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
Date:   Thu Nov 14 15:59:55 2013 -0500

    Serials: Batch Receive interface Copy Location widget was inert
    
    Choosing a value from the Copy Location widget wasn't working.  You'd
    get a default copy location (or the one supplied by the Receive Unit
    Copy Template) no matter what you set that control too.
    
    This is fixed.  One does not read from XUL menulist element by using its
    'value' property.
    
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
    Signed-off-by: Remington Steed <rjs7 at calvin.edu>

diff --git a/Open-ILS/xul/staff_client/server/serial/batch_receive.js b/Open-ILS/xul/staff_client/server/serial/batch_receive.js
index 92d67d5..f2a15f7 100644
--- a/Open-ILS/xul/staff_client/server/serial/batch_receive.js
+++ b/Open-ILS/xul/staff_client/server/serial/batch_receive.js
@@ -428,7 +428,8 @@ function BatchReceiver() {
         var node = dojo.query("*", node_by_name(field, row))[0];
 
         if (typeof(value) == "undefined") {
-            return node.value;
+            return node.selectedItem ?
+                node.selectedItem.value : node.value;
         } else {
             /* XXX The new two lines /should/ each do the same thing, but
              * apparently they don't.  With only one or the other, I get

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

Summary of changes:
 .../staff_client/server/serial/batch_receive.js    |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list