svn commit: r1841662 - /ofbiz/ofbiz-framework/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml

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

svn commit: r1841662 - /ofbiz/ofbiz-framework/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml

adityasharma
Author: adityasharma
Date: Sat Sep 22 08:44:42 2018
New Revision: 1841662

URL: http://svn.apache.org/viewvc?rev=1841662&view=rev
Log:
Fixed: Broken page renders while click on Submit button
(OFBIZ-7535)
Submit button on ListEmploymentApps form has no check to hide when no record in List due to which button always appears and shows broken screen when submitting empty list.
Thanks Ankush Upadhyay for reporting the issue

Modified:
    ofbiz/ofbiz-framework/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml?rev=1841662&r1=1841661&r2=1841662&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/humanres/widget/forms/EmploymentAppForms.xml Sat Sep 22 08:44:42 2018
@@ -68,7 +68,7 @@ under the License.
             </hyperlink>
         </field>
         <field name="_rowSubmit" title="${uiLabelMap.CommonSelect}"><hidden value="Y"/></field>
-        <field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit"><submit/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonSubmit}" use-when="listSize>0" widget-style="smallSubmit"><submit/></field>
     </form>
     <form name="FindEmploymentApps" type="single" target="FindEmploymentApps" header-row-style="header-row" default-table-style="basic-table" default-map-name="employmentApp">
         <actions>