Author: deepak
Date: Sat May 21 06:05:06 2016
New Revision: 1744843
URL:
http://svn.apache.org/viewvc?rev=1744843&view=revLog:
(OFBIZ-6364) Applied patch from jira issue
============================================================
Viewing party content should open in a new window
============================================================
Thanks Pierre for reporting the issue and Thanks Renuka for providing the patch.
Modified:
ofbiz/trunk/applications/party/template/party/profileblocks/ContentList.ftl
Modified: ofbiz/trunk/applications/party/template/party/profileblocks/ContentList.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/template/party/profileblocks/ContentList.ftl?rev=1744843&r1=1744842&r2=1744843&view=diff==============================================================================
--- ofbiz/trunk/applications/party/template/party/profileblocks/ContentList.ftl (original)
+++ ofbiz/trunk/applications/party/template/party/profileblocks/ContentList.ftl Sat May 21 06:05:06 2016
@@ -36,7 +36,7 @@ under the License.
<td>${pContent.fromDate!}</td>
<td class="button-col">
<#if (content.contentName?has_content)>
- <a href="<@ofbizUrl>img/${content.contentName}?imgId=${(content.dataResourceId)!}</@ofbizUrl>">${uiLabelMap.CommonView}</a>
+ <a href="<@ofbizUrl>img/${content.contentName}?imgId=${(content.dataResourceId)!}</@ofbizUrl>" target="_blank">${uiLabelMap.CommonView}</a>
</#if>
<form name="removePartyContent_${pContent_index}" method="post" action="<@ofbizUrl>removePartyContent/viewprofile</@ofbizUrl>">
<input type="hidden" name="contentId" value="${pContent.contentId}" />