Author: erwan
Date: Thu Jun 24 10:27:50 2010
New Revision: 957494
URL:
http://svn.apache.org/viewvc?rev=957494&view=revLog:
Better handling of text when displayed in a chart
Modified:
ofbiz/trunk/framework/common/webcommon/includes/flotrCharts/Pie.ftl
Modified: ofbiz/trunk/framework/common/webcommon/includes/flotrCharts/Pie.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/includes/flotrCharts/Pie.ftl?rev=957494&r1=957493&r2=957494&view=diff==============================================================================
--- ofbiz/trunk/framework/common/webcommon/includes/flotrCharts/Pie.ftl (original)
+++ ofbiz/trunk/framework/common/webcommon/includes/flotrCharts/Pie.ftl Thu Jun 24 10:27:50 2010
@@ -26,7 +26,7 @@ under the License.
<script type="text/javascript">
document.observe('dom:loaded', function(){
- var dataAsText = '${dataText}';
+ var dataAsText = '${StringUtil.wrapString(dataText)}';
var chartData = [];
chartData = dataAsText.split(',');
var allData = [];