From 825644e520803b8f07f11e44a8bca54f19ddb122 Mon Sep 17 00:00:00 2001 From: Liam Whalen Date: Fri, 18 Sep 2015 20:24:14 -0700 Subject: [PATCH] LP#1463166 Fix Batch update of Funds in Selection Lists Selection lists are currently unable to batch update funds. The problem stems from the fact that the Fund selection list is not populated in the copy rows. New code used to limit the number of funds, in the dropdown list, to those funds available to the user was added for purchase orders. However, these changes were not added to Selection Lists. This code adds the new call to initBatchUpdater to the selection list code. Signed-off-by: Liam Whalen --- Open-ILS/web/js/ui/default/acq/common/li_table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/acq/common/li_table.js b/Open-ILS/web/js/ui/default/acq/common/li_table.js index 7c19fef1cf..76fca7f464 100644 --- a/Open-ILS/web/js/ui/default/acq/common/li_table.js +++ b/Open-ILS/web/js/ui/default/acq/common/li_table.js @@ -276,7 +276,7 @@ function AcqLiTable() { dojo.forEach( ["owning_lib","location","collection_code","circ_modifier","fund"], function(field) { - var args = self.afwCopyFieldArgs(field, "CREATE_PURCHASE_ORDER"); + var args = self.afwCopyFieldArgs(field, 'CREATE_PICKLIST, CREATE_PURCHASE_ORDER'); args.parentNode = dojo.byId("acq-bu-" + field); if (field == 'fund') { -- 2.11.0