[
https://issues.apache.org/jira/browse/OFBIZ-11684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17304725#comment-17304725 ]
Jacques Le Roux edited comment on OFBIZ-11684 at 3/19/21, 8:43 AM:
-------------------------------------------------------------------
I finally believe it's because DateJs is loaded twice. [It's a known problem|
https://github.com/moment/moment/issues/376#issuecomment-7374637-permalink]. But I still don't understand how it's loaded twice. And how to prevent it. A known global way is to use Require.js. A good occasion to look at OFBIZ-9976!
was (Author: jacques.le.roux):
I finally believe it's because DateJs is loaded twice. [It's a known problem|
https://github.com/moment/moment/issues/376#issuecomment-7374637-permalink]. But I still don't understand how it's loaded twice.
> Form to add an employee position doesn't function properly when invoked from Humanres tree
> ------------------------------------------------------------------------------------------
>
> Key: OFBIZ-11684
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11684> Project: OFBiz
> Issue Type: Bug
> Components: humanres
> Affects Versions: Release Branch 18.12, 18.12.01, Release Branch 17.12, 17.12.03, Trunk, 17.12.04
> Reporter: Pierre Smits
> Assignee: Jacques Le Roux
> Priority: Major
> Labels: usability
>
> Selecting Add Employee Position or Add Person from the context menu opens the corresponding edit forms with calendar lookup fields.
> The calendar form does no open when the lookup icon is clicked.
> Expected calendar to open on click.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)