The fix for
NXP-21585 (Calendar expanded and collapsed just after) was done in jquery at https://github.com/jquery/jquery/commit/e889134#diff-169760a97de5c86a886842060321d2c8
RichFaces has taken this fix into account in 4.5.0.Beta1 by upgrading jquery from 1.8.3 to 1.11.1 (https://issues.jboss.org/browse/RF-13761), but upgrading RichFaces from 4.5.0.Alpha3 to 4.5.0.x in Nuxeo 7.10 is not an option as detailed in
Thus we need to patch RichFaces 4.5.0.Alpha3 to embed a patched version of jquery.
We tried several options to patch jquery:
- Checkout 1.8.3 and cherry-pick e889134 => too many conflicts.
- Rely on e889134 => not a tag.
- Rely on the next tag 1.9.0 => too many changes, requires jquery migrate and makes ITSearchTabTest fail for the same reason as in https://jira.nuxeo.com/browse/NXP-22310?focusedCommentId=299363&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-299363.
So let's apply the minimum changes to 1.8.3 taken from from e889134.