[MAGNOLIA-2991] Trim onclick events in Navigation menu of admininterface Created: 07/Jan/10  Updated: 23/Jan/13  Resolved: 02/Feb/10

Status: Closed
Project: Magnolia
Component/s: admininterface, gui
Affects Version/s: None
Fix Version/s: 4.3

Type: Improvement Priority: Trivial
Reporter: Magnolia International Assignee: Magnolia International
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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)

 Description   

If a menu item accidentally has a new line at the end of its onclick property, javascript errors can be caused; this can easily happen when reformating bootstrap file. As an easy and simple fix, we could trim those strings when generating the javascript of the menu.


Generated at Mon Feb 12 03:42:07 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.