[
https://issues.apache.org/jira/browse/OFBIZ-7293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amardeep Singh Jhajj updated OFBIZ-7293:
----------------------------------------
Attachment: OFBIZ-7293.patch
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:
{code}
<a class="buttontext" href="javascript:document.lookupTimesheet.submit()">Find </a>
{code}
And form rendered with changed name "form_1_lookupId", thats why its not working.
We normally use button in case of lookup form submits. Please find attached patch for Release 13.07, 14.12, 15.12 and trunk.
> Timesheet lookup dialog find not working
> ----------------------------------------
>
> Key: OFBIZ-7293
> URL:
https://issues.apache.org/jira/browse/OFBIZ-7293> Project: OFBiz
> Issue Type: Bug
> Components: workeffort
> Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk, Release Branch 15.12
> Reporter: Amardeep Singh Jhajj
> Assignee: Pranay Pandey
> Attachments: OFBIZ-7293.patch
>
>
> Steps to regenerate:
> 1. Go to
https://localhost:8443/workeffort/control/EditWorkEffortTimeEntries?workEffortId=TASK11> 2. Click on Timesheet lookup from "Add Time Entry to Work Effort" form.
> 3. In lookup dialog, find doesn't return results.
> Error on browser developer tool console (in chrome) : Uncaught TypeError: Cannot read property 'submit' of undefined
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)