[
http://jira.magnolia-cms.com/browse/MAGNOLIA-2876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Diego Schivo updated MAGNOLIA-2876:
-----------------------------------
Attachment: context-menu-any-extension-icons.patch
I had the same problem and fixed it by editing context-menu.js in
admininterface module.
See attachment: context-menu-any-extension-icons.patch
> 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: Boris Kraft
> 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]>
----------------------------------------------------------------