Changes between Initial Version and Version 2 of Ticket #15601


Ignore:
Timestamp:
Jul 2, 2012, 9:50:08 PM (7 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15601

    • Property Owner set to behemot
    • Property Status changed from new to pending
  • Ticket #15601 – Description

    initial v2  
    11A problem occurs only in the newest beta version of dojo i.e. 1.8.0B1.
    22
    3 I create a MenuBar component with a few items.
     3I create a !MenuBar component with a few items.
    44
     5{{{
    56declare(MenuBar, {
    67                id: 'mainNavigationMenuBar',
     
    1314                }
    1415        });
     16}}}
    1517
    1618It's shown as a menu correctly, but the click handler doesn't work at all,
     
    2022query.slice is not a function.
    2123It's a code from 104th line in acme.js (method called getQueryParts):
     24
     25{{{
    2226if(specials.indexOf(query.slice(-1)) >= 0)
     27}}}
    2328
    2429I've debuged the problem a little and it turned out, that query type
     
    2631But in this case for a menubar item hovering that method is called
    2732with a query which has type of function:
     33
     34{{{
    2835function (node) {
    2936    return domClass.contains(node, "dijitMenuItem");
    3037}
     38}}}
     39
    3140Obviously that's not correct query and for this type actually
    3241a method slice doesn't exist.