svn commit: r1747650 - /ofbiz/trunk/applications/workeffort/widget/LookupForms.xml

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

svn commit: r1747650 - /ofbiz/trunk/applications/workeffort/widget/LookupForms.xml

pranayp
Author: pranayp
Date: Fri Jun 10 07:22:30 2016
New Revision: 1747650

URL: http://svn.apache.org/viewvc?rev=1747650&view=rev
Log:
[OFBIZ-7293] Applied fix from the ticket for timesheet lookup dialog find not working. Used submit type "button" instead of "text-link", actually its a lookup form and it needs button instead of text-link. On rendering, text-link converted into anchor link: <a class="buttontext" href="javascript:document.lookupTimesheet.submit()">Find </a> and form rendered with changed name "form_1_lookupId", We normally use button in case of lookup form submits.

Thanks Amardeep Singh Jhajj for reporting the issue and providing patch with details.

Modified:
    ofbiz/trunk/applications/workeffort/widget/LookupForms.xml

Modified: ofbiz/trunk/applications/workeffort/widget/LookupForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/LookupForms.xml?rev=1747650&r1=1747649&r2=1747650&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/widget/LookupForms.xml (original)
+++ ofbiz/trunk/applications/workeffort/widget/LookupForms.xml Fri Jun 10 07:22:30 2016
@@ -161,7 +161,7 @@ under the License.
         <field name="clientPartyId"><lookup  target-form-name="LookupPartyName"/></field>
 
         <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
-        <field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="buttontext"><submit button-type="text-link"/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="buttontext"><submit button-type="button"/></field>
     </form>
     <form name="listLookupTimesheet" list-name="listIt" target="" title="" type="list" paginate-target="LookupPerson"
         odd-row-style="alternate-row" default-table-style="basic-table hover-bar">