[
http://jira.magnolia-cms.com/browse/MAGNOLIA-2876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grégory Joseph resolved MAGNOLIA-2876.
--------------------------------------
Fix Version/s: 4.2.x
4.3
4.1.x
Resolution: Fixed
Thanks for the patch ! Applied on trunk (4.3) as well as 4.1 and 4.2 branches.
> Context menu icons in tree only support GIFs - at least after javascript
> condition once has deactivated the menu item
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: MAGNOLIA-2876
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2876
> Project: Magnolia
> Issue Type: Bug
> Affects Versions: 4.1.1
> Reporter: Will Scheidegger
> Assignee: Grégory Joseph
> Fix For: 4.2.x, 4.3, 4.1.x
>
> Attachments: context-menu-any-extension-icons.patch
>
>
> In the tree configuration, one can define icons to be displayed with context
> menu items (ContextMenuItem.setIcon()). If you provide the path to a PNG file
> (say "/.resources/icons/16/my_icon.png"), the following will happen:
> - First, the icon is displayed with the menu item.
> - Once the menu item is deactivated by a javascript condition, it tries to
> display a file called "my_icon_inactive.gif", a GIF, not a PNG
> - Now when the menu item is activated again, the active icon is gone too,
> because the menu tries to display "my_icon.gif" now, also a GIF
> So the JS handling the icon does not look at the file extensions. The context
> menu icons therefore only really work with GIFs.
--
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]>
----------------------------------------------------------------