AutoFieldWidget support external copy loc retrieval user/kmlussier/acq-order-upload-copy-location-from-owner
authorBill Erickson <berick@esilibrary.com>
Fri, 28 Sep 2012 19:48:22 +0000 (15:48 -0400)
committerKathy Lussier <klussier@masslnc.org>
Fri, 14 Dec 2012 17:25:44 +0000 (12:25 -0500)
commit95dc598e402aed8a5efb41b98357674b1b634512
tree889658895fe6045b6de6ede7c0f8b8c80c9ab186
parent04b164ccd17371c3ae6dfb3ffe14daa801e1538a
AutoFieldWidget support external copy loc retrieval

When rendering a collection of copy locations, AFW fetches locations
relevant to the context org unit.  While rendering an AFW for an
existing object, though, whose copy location is outside of that scope,
the code will now append the non-local copy location to the selector and
tag it with the owning lib (to avoid dupes).

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js