svn commit: r1851150 - /ofbiz/ofbiz-framework/branches/release17.12/applications/product/widget/catalog/ProductForms.xml

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

svn commit: r1851150 - /ofbiz/ofbiz-framework/branches/release17.12/applications/product/widget/catalog/ProductForms.xml

ashish-18
Author: ashish
Date: Sat Jan 12 08:25:07 2019
New Revision: 1851150

URL: http://svn.apache.org/viewvc?rev=1851150&view=rev
Log:
Applied fix from trunk for revision: 1851147
===========================
Fixed:Product tags section displays 'Update' button, despite of having no results
(OFBIZ-9642)
Thanks Jagpreet for reporting and Anushi for providing the patch.

Modified:
    ofbiz/ofbiz-framework/branches/release17.12/applications/product/widget/catalog/ProductForms.xml

Modified: ofbiz/ofbiz-framework/branches/release17.12/applications/product/widget/catalog/ProductForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/branches/release17.12/applications/product/widget/catalog/ProductForms.xml?rev=1851150&r1=1851149&r2=1851150&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/branches/release17.12/applications/product/widget/catalog/ProductForms.xml (original)
+++ ofbiz/ofbiz-framework/branches/release17.12/applications/product/widget/catalog/ProductForms.xml Sat Jan 12 08:25:07 2019
@@ -2369,10 +2369,10 @@ under the License.
         <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
     </form>
 
-    <form name="ListProductTag" type="multi" target="updateProductTag" title="" list-name=""
+    <form name="ListProductTag" type="multi" target="updateProductTag" title="" list-name="productKeywordList"
         odd-row-style="alternate-row" default-table-style="basic-table" paginate-target="EditProductTag" separate-columns="true">
         <actions>
-            <entity-condition entity-name="ProductKeyword">
+            <entity-condition entity-name="ProductKeyword" list="productKeywordList">
                 <condition-list combine="and">
                     <condition-expr field-name="keywordTypeId" operator="equals" value="KWT_TAG"/>
                     <condition-expr field-name="statusId" operator="equals" value="KW_PENDING"/>
@@ -2397,6 +2397,6 @@ under the License.
             </drop-down>
         </field>
         <field name="_rowSubmit" title="${uiLabelMap.CommonSelect}"><check/></field>
-        <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonUpdate}" use-when="productKeywordList.size != 0"><submit button-type="button"/></field>
     </form>
  </forms>