[open-ils-commits] r19027 - branches/rel_2_0/Open-ILS/web/js/ui/default/acq/financial (senator)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Dec 20 12:38:44 EST 2010


Author: senator
Date: 2010-12-20 12:38:41 -0500 (Mon, 20 Dec 2010)
New Revision: 19027

Modified:
   branches/rel_2_0/Open-ILS/web/js/ui/default/acq/financial/list_funds.js
Log:
Acq: In fund propagation and rollover, add amounts as numbers, not strings


Modified: branches/rel_2_0/Open-ILS/web/js/ui/default/acq/financial/list_funds.js
===================================================================
--- branches/rel_2_0/Open-ILS/web/js/ui/default/acq/financial/list_funds.js	2010-12-20 17:37:40 UTC (rev 19026)
+++ branches/rel_2_0/Open-ILS/web/js/ui/default/acq/financial/list_funds.js	2010-12-20 17:38:41 UTC (rev 19027)
@@ -177,7 +177,7 @@
                 var resp = openils.Util.readResponse(r);
                 rolloverResponses.push(resp.fund);
                 count += 1;
-                amount_rolled += resp.rollover_amount;
+                amount_rolled += Number(resp.rollover_amount);
             }, 
 
             oncomplete : function() {



More information about the open-ils-commits mailing list