2 Replies Latest reply on Jun 27, 2007 9:30 AM by Renzo Tomaselli

    IE js bug for dropDownMenu

    Renzo Tomaselli Novice

      The js code rendered for dropDownMenu items contains a bug concerning identification of events on IE.
      Actually rendered code is:

      (event || window.event)

      but IE (both 6 and 7) sometimes define the object event, which actually is not an event at all. The final result is a missing submit after clicking on menu items.
      Safe code should be:
      ((event && event.button) ? event : window.event)

      This solution works for both IE and FF.