[open-ils-commits] r19026 - trunk/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:37:43 EST 2010


Author: senator
Date: 2010-12-20 12:37:40 -0500 (Mon, 20 Dec 2010)
New Revision: 19026

Modified:
   trunk/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: trunk/Open-ILS/web/js/ui/default/acq/financial/list_funds.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/acq/financial/list_funds.js	2010-12-20 16:30:18 UTC (rev 19025)
+++ trunk/Open-ILS/web/js/ui/default/acq/financial/list_funds.js	2010-12-20 17:37:40 UTC (rev 19026)
@@ -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