[
http://jira.magnolia-cms.com/browse/MAGNOLIA-2876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26662#action_26662
]
Hudson CI server commented on MAGNOLIA-2876:
--------------------------------------------
Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif!
[magnolia_main-trunk
#1390|http://hudson.magnolia-cms.com/job/magnolia_main-trunk/1390/]
MAGNOLIA-2876 applied Diego Schivo's patch to support images in the
context menu other than gif. Thanks !
> 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
> 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]>
----------------------------------------------------------------