Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5408

In preview mode click handlers are not fired on document elements

    XMLWordPrintable

Details

    Description

      We noticed that in preview mode certain site functionality that used to work in Magnolia 4.4 doesn't anymore in 4.5. It seems some GWT JavaScript added by Magnolia is preventing click events on the document.

      We understand clicks are prevented in edit mode, but we believe the site should work as on a public node in preview mode.

      Try the adding the following using for example the JavaScript console in your browser:

      jQuery(document).click(function() { alert('Should give alert'); });
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ejervidalo Espen Jervidalo
                breun Nils Breunese
                Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD