[ 
https://issues.apache.org/jira/browse/OFBIZ-13332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18055466#comment-18055466
 ] 

Mekika Leila edited comment on OFBIZ-13332 at 1/30/26 4:00 PM:
---------------------------------------------------------------

Hello Nicolas,
It seems that this cause a side effect when an area is reloaded:

the bindObservers script is loaded several times and we end up with several 
lookup opened when clicking on a menu modal option.

see [^OFBIZ-13332-IssueExample.mp4]

 

Here is a proposal for a workaround on trunk: 
[https://github.com/apache/ofbiz-framework/pull/953]


was (Author: mleila):
Hello Nicolas,
It seems that this cause a side effect when an area is reloaded:

the bindObservers script is loaded several times and we end up with several 
lookup opened when clicking on a menu modal option.

see [^OFBIZ-13332-IssueExample.mp4]

 

Here is a proposal for a workaround: 
https://github.com/apache/ofbiz-framework/pull/953

> Lookup don't work on area just updated
> --------------------------------------
>
>                 Key: OFBIZ-13332
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13332
>             Project: OFBiz
>          Issue Type: Bug
>          Components: theme/common-theme
>    Affects Versions: 24.09.04
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Minor
>             Fix For: 24.09.05
>
>         Attachments: OFBIZ-13332-IssueExample.mp4
>
>
> If you realize a search on Find Invoice screen 
> ([https://demo-stable.ofbiz.apache.org/accounting/control/findInvoices)], at 
> the return you lost Lookup and date picker.
> This come from the js function who update the area, HTML is correctly 
> injected, but bind Observer aren't recalculate.
> So to fix it, after an area update, we ask bindObserver() method with the new 
> area to scan



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to