You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2009/04/22 08:31:50 UTC

svn commit: r767392 - in /ofbiz/trunk/applications/product/webapp/catalog/category: EditCategoryParties.ftl EditCategoryProdCatalogs.ftl

Author: ashish
Date: Wed Apr 22 06:31:50 2009
New Revision: 767392

URL: http://svn.apache.org/viewvc?rev=767392&view=rev
Log:
Ashish Nagar asked to follow the same pattern to use anchor tag (<a>) instead of submit button for delete link.

Accepting his wish and committing the fix for it. :-)

Modified:
    ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryParties.ftl
    ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryProdCatalogs.ftl

Modified: ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryParties.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryParties.ftl?rev=767392&r1=767391&r2=767392&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryParties.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryParties.ftl Wed Apr 22 06:31:50 2009
@@ -62,7 +62,7 @@
                     <input type="hidden" name="partyId" value="${(productCategoryRole.partyId)?if_exists}">
                     <input type="hidden" name="roleTypeId" value="${(productCategoryRole.roleTypeId)?if_exists}">
                     <input type="hidden" name="fromDate" value="${(productCategoryRole.getTimestamp("fromDate"))?if_exists}">
-                    <INPUT type="submit" value="${uiLabelMap.CommonDelete}" style="font-size: x-small;">
+                    <a href="javascript:document.lineForm_delete${line}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a>
                 </FORM>
             </td>
             </tr>

Modified: ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryProdCatalogs.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryProdCatalogs.ftl?rev=767392&r1=767391&r2=767392&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryProdCatalogs.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/category/EditCategoryProdCatalogs.ftl Wed Apr 22 06:31:50 2009
@@ -77,7 +77,7 @@
                     <input type="hidden" name="productCategoryId" value="${(prodCatalogCategory.productCategoryId)?if_exists}"/>
                     <input type="hidden" name="prodCatalogCategoryTypeId" value="${prodCatalogCategory.prodCatalogCategoryTypeId}"/>
                     <input type="hidden" name="fromDate" value="${(prodCatalogCategory.fromDate)?if_exists}"/>
-                    <input type="submit" value="${uiLabelMap.CommonDelete}"/>
+                    <a href="javascript:document.lineForm_delete${line}.submit()" class="buttontext">${uiLabelMap.CommonDelete}</a>
                   </form>
                 </td>
             </tr>