[
https://issues.apache.org/jira/browse/OFBIZ-3845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885127#action_12885127
]
Sascha Rodekamp commented on OFBIZ-3845:
----------------------------------------
Hi Shubham,
that's to open the lookup by clicking on the icon.
First the lookup is initialized
var dialogRef = jQuery("#" + lookupId).dialog(dialogOpts);
with an attribute autoOpen: false
The code jQuery("#" + lookupId + "_button").click( bind an event to the button
which opens the lookup.
You cn find an example here : [http://jqueryui.com/demos/dialog/#animated]
BTW: I shortly tested on
[https://localhost:8443/example/control/FormWidgetExamples] and i can't
reproduce the issue. there are two lookups and both have a different ID. Can
you give me a link, where you found the issue?
> Multiple lookups target problem
> -------------------------------
>
> Key: OFBIZ-3845
> URL: https://issues.apache.org/jira/browse/OFBIZ-3845
> Project: OFBiz
> Issue Type: Sub-task
> Components: ALL COMPONENTS
> Affects Versions: jQuery
> Reporter: Shubham Dubey
> Fix For: jQuery
>
>
> Steps:
> (1) Go to any page having more than one lookup.
> (2) Click on any lookup and find the corrosponding information and click on
> tab to select the information.
>
> Any lookup we select, lookup for same lookupId is created, which is for the
> last lookup.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.