[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.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747650 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pranay Pandey
2016-06-10 07:22:30 +00:00
parent d203fb02f2
commit b37e66bced
@@ -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">