svn commit: r1036669 - /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: r1036669 - /ofbiz/trunk/applications/order/webapp/ordermgr/order/ordernotes.ftl

ashish-18
Author: ashish
Date: Thu Nov 18 22:55:21 2010
New Revision: 1036669

URL: http://svn.apache.org/viewvc?rev=1036669&view=rev
Log:
Bug fix. If line feed exists in the note data then find those line feeds and replace it with the <br/> tag. This is better fix from my previous commit.

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=1036669&r1=1036668&r2=1036669&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/order/ordernotes.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/order/ordernotes.ftl Thu Nov 18 22:55:21 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}
+                    ${note.noteInfo?replace("\n", "<br/>")}
                   </td>
                   <td align="right" valign="top" width="15%">
                     <#if note.internalNote?if_exists == "N">