[MAGNOLIA-5408] In preview mode click handlers are not fired on document elements Created: 22/Oct/13  Updated: 10/Feb/14  Resolved: 07/Feb/14

Status: Closed
Project: Magnolia
Component/s: page editor
Affects Version/s: 4.5.12
Fix Version/s: 4.5.16

Type: Bug Priority: Major
Reporter: Nils Breunese Assignee: Espen Jervidalo
Resolution: Fixed Votes: 1
Labels: maintenance, support, vpro
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
caused by MAGNOLIA-4892 Scroll bar not releasing focus after ... Closed
relation
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Sprint: 4.5.14

 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'); });

Generated at Mon Feb 12 04:04:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.