Author: arunpatidar
Date: Sat Feb 20 12:59:27 2016
New Revision: 1731397

URL: http://svn.apache.org/viewvc?rev=1731397&view=rev
Log:
Applied fix from trunk for revision: 1731396 
===

[OFBIZ-6801] Fixed issue of removeContentFromProductConfigItem request by 
passing request parameters by submiting a form. Thanks Pramod Kumar Singh for 
reporting issue and Mohammad Irshad Gouri for providing patch.

Modified:
    ofbiz/branches/release15.12/   (props changed)
    
ofbiz/branches/release15.12/applications/product/webapp/catalog/config/EditProductConfigItemContent.ftl

Propchange: ofbiz/branches/release15.12/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sat Feb 20 12:59:27 2016
@@ -9,4 +9,4 @@
 /ofbiz/branches/json-integration-refactoring:1634077-1635900
 /ofbiz/branches/multitenant20100310:921280-927264
 /ofbiz/branches/release13.07:1547657
-/ofbiz/trunk:1722712,1723007,1723248,1724402,1724411,1724566,1724689,1724763,1724916,1724918,1724925,1724930,1724940,1724943,1724946,1724951,1724957,1724975,1724978,1725006,1725217,1725257,1725561,1725574,1726388,1726486,1726493,1726828,1728398,1728411,1729005,1729078,1729609,1729809,1730035,1730456,1730735-1730736,1730882,1730889,1731382
+/ofbiz/trunk:1722712,1723007,1723248,1724402,1724411,1724566,1724689,1724763,1724916,1724918,1724925,1724930,1724940,1724943,1724946,1724951,1724957,1724975,1724978,1725006,1725217,1725257,1725561,1725574,1726388,1726486,1726493,1726828,1728398,1728411,1729005,1729078,1729609,1729809,1730035,1730456,1730735-1730736,1730882,1730889,1731382,1731396

Modified: 
ofbiz/branches/release15.12/applications/product/webapp/catalog/config/EditProductConfigItemContent.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/product/webapp/catalog/config/EditProductConfigItemContent.ftl?rev=1731397&r1=1731396&r2=1731397&view=diff
==============================================================================
--- 
ofbiz/branches/release15.12/applications/product/webapp/catalog/config/EditProductConfigItemContent.ftl
 (original)
+++ 
ofbiz/branches/release15.12/applications/product/webapp/catalog/config/EditProductConfigItemContent.ftl
 Sat Feb 20 12:59:27 2016
@@ -59,7 +59,14 @@ function insertImageName(size,nameValue)
             
<td>${productContentType.description?default(productContent.confItemContentTypeId)}</td>
             <td>${productContent.fromDate?default("N/A")}</td>
             <td>${productContent.thruDate?default("N/A")}</td>
-            <td><a 
href="<@ofbizUrl>removeContentFromProductConfigItem?configItemId=${productContent.configItemId}&amp;contentId=${productContent.contentId}&amp;confItemContentTypeId=${productContent.confItemContentTypeId}&amp;fromDate=${productContent.fromDate}</@ofbizUrl>"
 class="buttontext">${uiLabelMap.CommonDelete}</a></td>
+            <td>
+            <form 
name="removeContentFromProductConfigItem_${productContent.contentId}_${entry_index}"
 method="post" 
action="<@ofbizUrl>removeContentFromProductConfigItem</@ofbizUrl>">
+              <input name="configItemId" type="hidden" 
value="${productContent.configItemId}"/>
+              <input name="contentId" type="hidden" 
value="${productContent.contentId}"/>
+              <input name="confItemContentTypeId" type="hidden" 
value="${productContent.confItemContentTypeId}"/>
+              <input name="fromDate" type="hidden" 
value="${productContent.fromDate}"/>
+              <input type="submit" value="${uiLabelMap.CommonDelete}"/>
+            </form>
             <td><a 
href="/content/control/EditContent?contentId=${productContent.contentId}&amp;externalLoginKey=${requestAttributes.externalLoginKey!}"
 class="buttontext">${uiLabelMap.ProductEditContent} 
${entry.content.contentId}</td>
          </tr>
          <#-- toggle the row color -->


Reply via email to