[
https://issues.apache.org/jira/browse/OFBIZ-13332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18047284#comment-18047284
]
ASF subversion and git services commented on OFBIZ-13332:
---------------------------------------------------------
Commit 0b94ecd411199ae86dd361d410999f926cb50539 in ofbiz-framework's branch
refs/heads/trunk from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=0b94ecd411 ]
Improved: Lookup don't work on area just updated (OFBIZ-13332)
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 it.
So to fix it, after an area update, we call bindObserver() method to scan the
new area injected on DOM
> 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
>
> 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)