[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-2991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grégory Joseph updated MAGNOLIA-2991:
-------------------------------------

    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.


  was:
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.

(a better fix would be to support those new lines, should they be needed)


> Trim onclick events in Navigation menu of admininterface
> --------------------------------------------------------
>
>                 Key: MAGNOLIA-2991
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2991
>             Project: Magnolia
>          Issue Type: Improvement
>          Components: admininterface, gui
>            Reporter: Grégory Joseph
>            Assignee: Grégory Joseph
>            Priority: Trivial
>             Fix For: 4.3 M1
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to