[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12638]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [12638] |
Date: |
Tue, 20 Jan 2015 23:09:46 +0000 |
Revision: 12638
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12638
Author: nelson224
Date: 2015-01-20 23:09:46 +0000 (Tue, 20 Jan 2015)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/phpgwapi/js/jquery/common.js
Modified: branches/dev-syncromind/phpgwapi/js/jquery/common.js
===================================================================
--- branches/dev-syncromind/phpgwapi/js/jquery/common.js 2015-01-20
23:09:30 UTC (rev 12637)
+++ branches/dev-syncromind/phpgwapi/js/jquery/common.js 2015-01-20
23:09:46 UTC (rev 12638)
@@ -128,12 +128,17 @@
};
JqueryPortico.FormatterAmount0 = function(key, oData) {
-// var amount = YAHOO.util.Number.format(oData, {decimalPlaces:0,
decimalSeparator:",", thousandsSeparator:" "});
- //FIXME...
- var amount = parseInt(oData[key]);
- return "<div class='nowrap' align=\"right\">"+amount+"</div>";
+
+ var amount = $.number( oData[key], 0, ',', ' ' );
+ return amount;
};
+JqueryPortico.FormatterAmount2 = function(key, oData) {
+
+ var amount = $.number( oData[key], 2, ',', ' ' );
+ return amount;
+};
+
JqueryPortico.FormatterRight = function(key, oData) {
return "<div align=\"right\">"+oData[key]+"</div>";
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12638],
Nelson Guerra <=