You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/05/11 15:41:49 UTC

svn commit: r773559 - in /ofbiz/branches/release09.04: ./ applications/party/webapp/partymgr/party/editcontactmech.ftl

Author: jleroux
Date: Mon May 11 13:41:48 2009
New Revision: 773559

URL: http://svn.apache.org/viewvc?rev=773559&view=rev
Log:
"Applied fix from trunk for revision: 773557" 
------------------------------------------------------------------------
r773557 | jleroux | 2009-05-11 15:37:25 +0200 (lun., 11 mai 2009) | 1 line

A patch from Aswath Satrasala "Error deleting ContactMechPurpose for party PostalAddress" (https://issues.apache.org/jira/browse/OFBIZ-2450) - OFBIZ-2450
------------------------------------------------------------------------


Modified:
    ofbiz/branches/release09.04/   (props changed)
    ofbiz/branches/release09.04/applications/party/webapp/partymgr/party/editcontactmech.ftl

Propchange: ofbiz/branches/release09.04/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon May 11 13:41:48 2009
@@ -1 +1 @@
-/ofbiz/trunk:765933,766011,766015,766293,766307,766316,766325,766462,766522,766800,767060,767072,767093,767098-767099,767102,767123,767125,767127,767279,767287,767671,767688,767694,767822,767845,768358,768490,768550,768675,768686,768705,768811,768815,768960,769030,769500,770272,770997,771073,772401,772464-772465,773076
+/ofbiz/trunk:765933,766011,766015,766293,766307,766316,766325,766462,766522,766800,767060,767072,767093,767098-767099,767102,767123,767125,767127,767279,767287,767671,767688,767694,767822,767845,768358,768490,768550,768675,768686,768705,768811,768815,768960,769030,769500,770272,770997,771073,772401,772464-772465,773076,773557

Modified: ofbiz/branches/release09.04/applications/party/webapp/partymgr/party/editcontactmech.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release09.04/applications/party/webapp/partymgr/party/editcontactmech.ftl?rev=773559&r1=773558&r2=773559&view=diff
==============================================================================
--- ofbiz/branches/release09.04/applications/party/webapp/partymgr/party/editcontactmech.ftl (original)
+++ ofbiz/branches/release09.04/applications/party/webapp/partymgr/party/editcontactmech.ftl Mon May 11 13:41:48 2009
@@ -76,7 +76,17 @@
                       (${uiLabelMap.CommonSince}:${partyContactMechPurpose.fromDate.toString()})
                       <#if partyContactMechPurpose.thruDate?has_content>(${uiLabelMap.CommonExpire}: ${partyContactMechPurpose.thruDate.toString()}</#if>
                     </td>
-                    <td class="button-col"><a href="<@o...@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonDelete}</a></td>
+                    <td class="button-col">
+                      <form name="deletePartyContactMechPurpose_${partyContactMechPurpose.contactMechPurposeTypeId}" method="POST" action="<@o...@ofbizUrl>" >
+                         <input type="hidden" name="partyId" value="${partyId}" />
+                         <input type="hidden" name="contactMechId" value="${contactMechId}" />
+                         <input type="hidden" name="contactMechPurposeTypeId" value="${partyContactMechPurpose.contactMechPurposeTypeId}" />
+                         <input type="hidden" name="fromDate" value="${partyContactMechPurpose.fromDate.toString()}" />
+                         <input type="hidden" name="DONE_PAGE" value="${donePage?replace("=","%3d")}" />
+                         <input type="hidden" name="useValues" value="true" />
+                         <a href="javascript:document.deletePartyContactMechPurpose_${partyContactMechPurpose.contactMechPurposeTypeId}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a> 
+                       </form>
+                    </td>
                   </tr>
                 </#list>
               </#if>