From 4b9154e9a603a0bd8147ff1f74ba01037f80bad6 Mon Sep 17 00:00:00 2001 From: Liam Whalen Date: Fri, 6 Nov 2015 11:05:20 -0800 Subject: [PATCH] LP#1175400 Added a comment Signed-off-by: Liam Whalen --- Open-ILS/web/js/ui/default/acq/financial/view_funding_source.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/acq/financial/view_funding_source.js b/Open-ILS/web/js/ui/default/acq/financial/view_funding_source.js index 04145da5c4..38a687d297 100644 --- a/Open-ILS/web/js/ui/default/acq/financial/view_funding_source.js +++ b/Open-ILS/web/js/ui/default/acq/financial/view_funding_source.js @@ -58,7 +58,9 @@ function applyFSAllocation(fields) { if(isNaN(fields.amount)) fields.amount = null; - //connect dialogs if necessary + //because the fields value is not local to this file + //we need to reconnect the Dialogs each time we allocate + //to ensure the proper variable values are used in the dialogs dojo.connect(oilsFSOverAllocateContinue, 'onClick', function() { oilsFSOverAllocateDialog.hide(); -- 2.11.0