LP#1175400 Added a comment
authorLiam Whalen <liam.whalen@bc.libraries.coop>
Fri, 6 Nov 2015 19:05:20 +0000 (11:05 -0800)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 13 Sep 2016 12:55:41 +0000 (08:55 -0400)
Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Open-ILS/web/js/ui/default/acq/financial/view_funding_source.js

index 04145da..38a687d 100644 (file)
@@ -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();