svn commit: r1036426 - /ofbiz/trunk/applications/order/webapp/ordermgr/order/ordernotes.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1036426 - /ofbiz/trunk/applications/order/webapp/ordermgr/order/ordernotes.ftl

ashish-18
Author: ashish
Date: Thu Nov 18 11:58:37 2010
New Revision: 1036426

URL: http://svn.apache.org/viewvc?rev=1036426&view=rev
Log:
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>&nbsp;<span class="label">${uiLabelMap.CommonAt}</span>&nbsp;${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">