Changes between Initial Version and Version 5 of Ticket #9140


Ignore:
Timestamp:
Apr 17, 2009, 10:32:24 AM (11 years ago)
Author:
bill
Comment:

Ah OK I see it now.

The problem happens when the user is hovering over a menu item with a sub-menu (that is open), and then the user moves the cursor over a menu item w/out a submenu.

Thanks for the test case and the bug report. I'll fix.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9140

    • Property Owner set to bill
    • Property Status changed from new to assigned
    • Property Milestone changed from tbd to 1.4
    • Property Summary changed from Runtime Error in Menu.js to Menu: Runtime Error in Menu.js when moving cursor to menu item w/no popup
  • Ticket #9140 – Description

    initial v5  
    1 In the function _openPopup, when hovering over a MenuBarItem, you get an error because the item in question has no 'popup' object.
     1In the function _openPopup, when hovering over a !MenuBarItem, you get an error because the item in question has no 'popup' object.
    22
    33I solved this locally by adding an additional check
    4 
     4{{{
    55[Menu.js]
    66
     
    1010
    1111164             if(popup.isShowingNow){ return; }
     12}}}
    1213
    13 Not sure if this is the right solution or if MenuBarItem is derived from the wrong class...
     14Not sure if this is the right solution or if !MenuBarItem is derived from the wrong class...
    1415