Uploaded image for project: 'Flipbook'
  1. Flipbook
  2. FLIPBOOK-59

Flipbook plugin does not work because of a too recent version of jquery

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.2.1, 2.3.0
    • 2.2.0
    • None
    • 4.3 M3

      jquery.min.js:2 Uncaught TypeError: e.indexOf is not a function
          at w.fn.init.w.fn.load (jquery.min.js:2)
          at loadPage (magazine.js:46)
          at addPage (magazine.js:32)
          at HTMLDivElement.missing (book.html:365)
          at HTMLDivElement.dispatch (jquery.min.js:2)
          at HTMLDivElement.y.handle (jquery.min.js:2)
          at Object.trigger (jquery.min.js:2)
          at HTMLDivElement.<anonymous> (jquery.min.js:2)
          at Function.each (jquery.min.js:2)
          at w.fn.init.each (jquery.min.js:2)
      

          [FLIPBOOK-59] Flipbook plugin does not work because of a too recent version of jquery

          Laurence Aumeunier added a comment - - edited

          The jquery used version was jquery v3.
          To test or reproduce add jquery dependency in your ivy
          <dependency org="jquery" name="jquery" rev="3.3.1" conf="cms_runtime->default;cms_runtime_dependencies->default"/>

          How to reproduce

          • Edit a content
          • Insert an animated PDF in a richtext
          • Save
          • Click on the inserted link

          The flipbbok player is empty.

          Laurence Aumeunier added a comment - - edited The jquery used version was jquery v3. To test or reproduce add jquery dependency in your ivy <dependency org="jquery" name="jquery" rev="3.3.1" conf="cms_runtime->default;cms_runtime_dependencies->default"/> How to reproduce Edit a content Insert an animated PDF in a richtext Save Click on the inserted link The flipbbok player is empty.

          due to recent jquery.
          the method

          .load

          should be replace by

          .on('load',

          Raphaël Franchet added a comment - due to recent jquery. the method .load should be replace by .on( 'load' ,

          will require a branch to backport the fix

          Raphaël Franchet added a comment - will require a branch to backport the fix

            laurence Laurence Aumeunier
            afrancois Anastasia François
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: