Author: jleroux
Date: Sun Aug 15 17:52:25 2010
New Revision: 985718
URL:
http://svn.apache.org/viewvc?rev=985718&view=revLog:
Fix "Attach Features to Category from Products" (
https://issues.apache.org/jira/browse/OFBIZ-3890) - OFBIZ-3890 reported by MichaĆ Cukierman
Steps:
1) Go to Catalog Manager
3) Select Large Gizmos cateogry
4) Go to the features second lvl tab
5) Click "Attach Features to Category from Products" option
Modified:
ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryFeatureCats.ftl
Modified: ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryFeatureCats.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryFeatureCats.ftl?rev=985718&r1=985717&r2=985718&view=diff==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryFeatureCats.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryFeatureCats.ftl Sun Aug 15 17:52:25 2010
@@ -16,7 +16,11 @@ KIND, either express or implied. See th
specific language governing permissions and limitations
under the License.
-->
-<a href="<@ofbizUrl>attachProductFeaturesToCategory?productCategoryId=${productCategoryId?if_exists}</@ofbizUrl>" class="buttontext">[${uiLabelMap.ProductFeatureCategoryAttach}]</a>
+<form method="post" action="<@ofbizUrl>attachProductFeaturesToCategory</@ofbizUrl>" name="attachProductFeaturesToCategory">
+ <input type="hidden" name="productCategoryId" value="${productCategoryId?if_exists}" />
+</form>
+<a href="javascript:document.attachProductFeaturesToCategory.submit()" class="buttontext">${uiLabelMap.ProductFeatureCategoryAttach}</a>
+
<#if productCategoryId?exists && productCategory?exists>
<div class="screenlet">
<div class="screenlet-title-bar">