Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-620

JSCookMenu not displaying icons

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.1
    • 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>

      Attachments

        Activity

          People

            mmarinschek Martin Marinschek
            rwynn Ryan Wynn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: