Author: jleroux
Date: Fri Feb 2 01:33:15 2007
New Revision: 502553
URL:
http://svn.apache.org/viewvc?view=rev&rev=502553Log:
A patch from Ismail Cansiz "Viewing Party Communication Event" (
https://issues.apache.org/jira/browse/OFBIZ-683).
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml
Modified: ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml?view=diff&rev=502553&r1=502552&r2=502553==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/communication/CommForms.xml Fri Feb 2 01:33:15 2007
@@ -170,7 +170,7 @@
<field map-name="subjectMap" name="eventNote" title="${uiLabelMap.CommonNote}"><display/></field>
<field name="contentMimeTypeId"><display/></field>
<field name="content" title="${uiLabelMap.CommonContent}"><textarea cols="60" rows="10"/></field>
- <field name="content" title="${uiLabelMap.CommonContent}" use-when="(communicationEvent.getString("contentMimeTypeId")!=null)&&(communicationEvent.getString("contentMimeTypeId").equals("text/html"))">
+ <field name="content" title="${uiLabelMap.CommonContent}" use-when="(communicationEvent.getString("contentMimeTypeId")!=null)&&(communicationEvent.getString("contentMimeTypeId").indexOf("text/html")) != -1">
<display also-hidden="false"/> <!-- if not set, it is also hidden, which could cause it to re-dislay -->
</field>
</form>