Author: jleroux
Date: Thu Apr 14 19:49:59 2011
New Revision: 1092479
URL: http://svn.apache.org/viewvc?rev=1092479&view=rev
Log:
A patch from Stephen Rufle "Missing partyId on "Geo Location" link on
viewprofile screen" https://issues.apache.org/jira/browse/OFBIZ-4255
On the view profile screen in the "Party Manager" app. The "Geo Location" link
in the "Contact Information" box is not passing the partyId so when you get to
the map page the profile id for "null" when it should be for "DemoCustomer"
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/Contact.ftl
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/Contact.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/Contact.ftl?rev=1092479&r1=1092478&r2=1092479&view=diff
==============================================================================
---
ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/Contact.ftl
(original)
+++
ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/Contact.ftl
Thu Apr 14 19:49:59 2011
@@ -88,7 +88,7 @@ under the License.
<#if contactMechPurposeType?has_content>
<#assign popUptitle =
contactMechPurposeType.get("description",locale) + uiLabelMap.CommonGeoLocation>
</#if>
- <a
href="javascript:popUp('<@ofbizUrl>PartyGeoLocation?geoPointId=${postalAddress.geoPointId}</@ofbizUrl>',
'${popUptitle?if_exists}', '450', '550')"
class="buttontext">${uiLabelMap.CommonGeoLocation}</a>
+ <a
href="javascript:popUp('<@ofbizUrl>PartyGeoLocation?geoPointId=${postalAddress.geoPointId}&partyId=${partyId}</@ofbizUrl>',
'${popUptitle?if_exists}', '450', '550')"
class="buttontext">${uiLabelMap.CommonGeoLocation}</a>
</#if>
<#elseif "TELECOM_NUMBER" = contactMech.contactMechTypeId>
<#assign telecomNumber = contactMechMap.telecomNumber>