Author: ashish Date: Sat Aug 27 12:45:27 2016 New Revision: 1758016 URL: http://svn.apache.org/viewvc?rev=1758016&view=rev Log: Applied patch from jira issue - OFBIZ-7830 - Upload Communication Content functionality is not working from the Internal Note creation screen. Thanks Ravi for the contribution. Thanks Montalbano for discussing things around the issue.
Modified: ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml Modified: ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml?rev=1758016&r1=1758015&r2=1758016&view=diff ============================================================================== --- ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml (original) +++ ofbiz/trunk/applications/party/widget/partymgr/CommunicationEventForms.xml Sat Aug 27 12:45:27 2016 @@ -879,18 +879,12 @@ under the License. <field name="communicationEventTypeId"><hidden value="${communicationEvent.communicationEventTypeId}"/></field> <field name="parentCommEventId"><hidden value="${communicationEvent.parentCommEventId}"/></field> <field name="origCommEventId"><hidden value="${communicationEvent.origCommEventId}"/></field> - <field name="subject"><hidden/></field> - <field name="content"><hidden/></field> - <field name="partyIdTo"><hidden/></field> - <field name="datetimeStarted"><hidden/></field> <field name="my"><hidden value="${my}"/></field> <field name="contentId" title="${uiLabelMap.FormFieldTitle_existContentId}"><lookup target-form-name="LookupTreeContent"/></field> <field name="uploadedFile"><file/></field> <field name="contentIdFrom" title="${uiLabelMap.ContentCompDocParentContentId}"><lookup target-form-name="LookupDetailContentTree"/></field> - <field name="send" title=" "> - <hyperlink also-hidden="true" - target-type="plain" description="${uiLabelMap.CommonUpload}" - target="javascript:(document.uploadContent.datetimeStarted.value=document.EditEmail.datetimeStarted.value),(document.uploadContent.partyIdTo.value=document.EditEmail.partyIdTo.value),(document.uploadContent.subject.value=document.EditEmail.subject.value),(document.uploadContent.content.value=document.EditEmail.content.value),(document.uploadContent.submit())"/> + <field name="send" title="${uiLabelMap.CommonUpload}"> + <submit button-type="button"/> </field> </form> <form name="uploadContent1" type="upload" extends="uploadContent" target="uploadAttachFile">