Author: ashish
Date: Thu Nov 18 11:58:37 2010
New Revision: 1036426
URL:
http://svn.apache.org/viewvc?rev=1036426&view=revLog:
Bug fix. If database contains <br/> in order notes then it shows as it is on GUI.
So its better to use StringUtil.wrapString() method for rendering note info, it shows contents right.
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/order/ordernotes.ftl
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/order/ordernotes.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/order/ordernotes.ftl?rev=1036426&r1=1036425&r2=1036426&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/order/ordernotes.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/order/ordernotes.ftl Thu Nov 18 11:58:37 2010
@@ -44,7 +44,7 @@ under the License.
<div> <span class="label">${uiLabelMap.CommonAt}</span> ${note.noteDateTime?string?if_exists}</div>
</td>
<td valign="top" width="50%">
- ${note.noteInfo?if_exists}
+ ${StringUtil.wrapString(note.noteInfo?if_exists)}
</td>
<td align="right" valign="top" width="15%">
<#if note.internalNote?if_exists == "N">