AutoFieldWidget support external copy loc retrieval user/berick/acq-order-upload-copy-location-from-owner
authorBill Erickson <berick@esilibrary.com>
Fri, 28 Sep 2012 19:48:22 +0000 (15:48 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 28 Sep 2012 19:48:22 +0000 (15:48 -0400)
commit6bdeeee1651e194df077b6fc214145c73b7a266c
tree2629626323238ab9a9b09483ff32310da6d45330
parente970cd96aa3e0237b5eb12646b523df35339d49d
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>
Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js