Uploaded image for project: 'VEND'
  1. VEND
  2. VEND-32

RichFaces jquery: scripts should only be exectued on first insertion

    XMLWordPrintable

    Details

      Description

      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

      For details see:
      https://github.com/jquery/jquery/pull/864
      https://bugs.jquery.com/ticket/11795
      https://bugs.jquery.com/ticket/10470

      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 NXP-22310.

      Thus we need to patch RichFaces 4.5.0.Alpha3 to embed a patched version of jquery.
      We tried several options to patch jquery:

      So let's apply the minimum changes to 1.8.3 taken from from e889134.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 6 hours
                  1d 6h