svn commit: r740117 - /ofbiz/trunk/applications/product/webapp/catalog/category/EditCategory.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r740117 - /ofbiz/trunk/applications/product/webapp/catalog/category/EditCategory.ftl

sichen
Author: sichen
Date: Mon Feb  2 21:59:32 2009
New Revision: 740117

URL: http://svn.apache.org/viewvc?rev=740117&view=rev
Log:
fix input field for parent product category ID of a product category

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

Modified: ofbiz/trunk/applications/product/webapp/catalog/category/EditCategory.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/category/EditCategory.ftl?rev=740117&r1=740116&r2=740117&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/category/EditCategory.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/category/EditCategory.ftl Mon Feb  2 21:59:32 2009
@@ -176,7 +176,7 @@
                     <td width="26%" align="right" class="label">${uiLabelMap.ProductPrimaryParentCategory}</td>
                     <td>&nbsp;</td>
                     <td width="74%">
-                        <input type="text" name="primaryParentCategoryId" size="20" maxlength="20" value="${requestParameters.SEARCH_CATEGORY_ID?if_exists}"/>
+                        <input type="text" name="primaryParentCategoryId" size="20" maxlength="20" value="${(productCategory.primaryParentCategoryId)?default('')}"/>
                         <a href="javascript:call_fieldlookup2(document.productCategoryForm.primaryParentCategoryId,'LookupProductCategory');"><img src='/images/fieldlookup.gif' width='15' height='14' border='0' alt='Click here For Field Lookup'/></a>
                     </td>
                 </tr>
@@ -245,4 +245,4 @@
             </form>
         </div>
     </div>
-</#if>
\ No newline at end of file
+</#if>