Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-770

Fix nuxeo-document-viewer's dropzone show condition

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.12
    • Component/s: UI

      Description

      The nuxeo-document-viewer shows the nuxeo-dropzone, bound to file:content, even if the document doesn't have this property, i.e., does not have the file schema, which means that if someone drops something there, nothing will happen. To fix this, we can change the _isDropzoneAvailable to check if the schema, or the property, are present in the document.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rdias Ricardo Dias
                Reporter:
                gbarata Gabriel Barata
                Participants:
                Reviewers:
                Gabriel Barata, Samuel Fialho
              • 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 - 20 minutes
                  20m