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 2015/01/15 09:42:28 UTC
svn commit: r1651971 -
/ofbiz/trunk/applications/product/webapp/catalog/promo/EditProductPromoRules.ftl
Author: jleroux
Date: Thu Jan 15 08:42:28 2015
New Revision: 1651971
URL: http://svn.apache.org/r1651971
Log:
No functional change. Slightly improves the Promo Rule Action UI by replacing an input field by a lookup when adding a Product Action to the Rule
Modified:
ofbiz/trunk/applications/product/webapp/catalog/promo/EditProductPromoRules.ftl
Modified: ofbiz/trunk/applications/product/webapp/catalog/promo/EditProductPromoRules.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/promo/EditProductPromoRules.ftl?rev=1651971&r1=1651970&r2=1651971&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/promo/EditProductPromoRules.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/promo/EditProductPromoRules.ftl Thu Jan 15 08:42:28 2015
@@ -388,12 +388,12 @@ under the License.
<div>${uiLabelMap.ProductNoActionProducts}</div>
</#if>
<div>
- <form method="post" action="<@o...@ofbizUrl>">
+ <form method="post" action="<@o...@ofbizUrl>" name="createProductPromoProductActions">>
<input type="hidden" name="productPromoId" value="${productPromoId}" />
<input type="hidden" name="productPromoRuleId" value="${productPromoAction.productPromoRuleId}" />
<input type="hidden" name="productPromoActionSeqId" value="${productPromoAction.productPromoActionSeqId}" />
<input type="hidden" name="productPromoCondSeqId" value="_NA_" />
- ${uiLabelMap.ProductProductId}: <input type="text" size="20" maxlength="20" name="productId" value=""/>
+ <@htmlTemplate.lookupField formName="createProductPromoProductActions" name="productId" id="productId" fieldFormName="LookupProduct"/>
<select name="productPromoApplEnumId">
<#list productPromoApplEnums as productPromoApplEnum>
<option value="${productPromoApplEnum.enumId}">${productPromoApplEnum.get("description",locale)}</option>