Uploaded image for project: 'Nuxeo Enhanced Viewer'
  1. Nuxeo Enhanced Viewer
  2. NEV-685

CSP Rules prevent execution of iframe onload event

    XMLWordPrintable

    Details

      Description

      NEV-275 made the focus set to the iframe content once arender UI is loaded. But this does not work when CSP rules are imposed by the clients as, the inline script methods are restricted as a part of their policy.

      With this fix, we are attaching the event handler separately instead of using the iframe's inline attribute of onload

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: