Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22313

Fix nxDropZone jQuery plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.10-HF24, 7.10-HF25, 8.10-HF05, 8.10-HF06, 9.1
    • Fix Version/s: 7.10-HF26, 8.10-HF07, 9.2
    • Component/s: Seam / JSF UI

      Description

      The refactoring done with NXP-22143 introduces a bug when the loadalreadyuploadedfiles attribute is true.

      When drag&dropping a file on an area where there are already files, nothing happens and an error is visible in console:

      Uncaught TypeError: Cannot read property 'handler' of undefined
          at initDropZone (dnd_common.js?ts=1494517923670:1255)
          at highlightDropZones (dnd_common.js?ts=1494517923670:1273)
          at HTMLDivElement.<anonymous> (dnd_common.js?ts=1494517923670:1186)
          at Function.each (jquery.js?ts=1494517923670:94)
          at jQuery.fn.init.each (jquery.js?ts=1494517923670:36)
          at jQuery.fn.init.$.fn.nxDropZone (dnd_common.js?ts=1494517923670:1173)
          at view_documents.faces?conversationId=0NXMAIN:1095
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: