[MAGNOLIA-5422] Logging to browser console breaks PageEditor at IE7&IE8 Created: 25/Oct/13  Updated: 30/Oct/13  Resolved: 29/Oct/13

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 4.5.12
Fix Version/s: 4.5.13

Type: Bug Priority: Neutral
Reporter: Zdenek Skodik Assignee: Christopher Zimmermann
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by MGNLUI-2485 CLONE: Logging to browser console bre... Closed
causality
caused by MAGNOLIA-5210 Broken div structure breaks page editor 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
Date of First Response:
Epic Link: Support
Sprint: 4.5.13

 Description   

So that no bars are being displayed.



 Comments   
Comment by Christopher Zimmermann [ 29/Oct/13 ]

The browser console logging added in http://jira.magnolia-cms.com/browse/MAGNOLIA-5210 should be removed - or should at least check to see if browser is ie7/ie8 and only log if not.

Comment by Christopher Zimmermann [ 29/Oct/13 ]

Ensure that browser has a console object before attempting to use it. So modern browsers are able to write to the console - but older browsers like ie8 and ie9 will not throw an error by trying to write to the console.

Added native javascript check in method PageEditor#consoleLog .

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