Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1.1
-
None
-
None
-
Windows XP, Firefox, IE
Description
JSCookMenu is displaying html src instead of an icon.
Problem src example (Does not display icon)
<script type="text/javascript">var event__id7_menu =
[[null, 'Options', null, 'linkDummyForm', null,['<img src="/opengym/images/Help.png"/>', 'Help', 'event__id7_menu:go_sample1', 'linkDummyForm', null]]];</script><div id="event__id7_menu"></div>
<script type="text/javascript"><!--
cmDraw ('event_id7_menu', event_id7_menu, 'hbr', cmThemeOffice, 'ThemeOffice');
//--></script>
If src is manually changed to the following then the icon is displayed correctly
<script type="text/javascript">var event__id7_menu =
[[null, 'Options', null, 'linkDummyForm', null,['<img src="/opengym/images/Help.png">', 'Help', 'event__id7_menu:go_sample1',
'linkDummyForm', null]]];</script><div id="event__id7_menu"></div>
<script type="text/javascript"><!--
cmDraw ('event_id7_menu', event_id7_menu, 'hbr', cmThemeOffice, 'ThemeOffice');
//--></script>