Changes between Initial Version and Version 1 of Ticket #5567


Ignore:
Timestamp:
Jan 11, 2008, 9:24:49 PM (13 years ago)
Author:
bill
Comment:

I just tried http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/test_Menu.html on IE6 and it's working fine for me. What problem are you seeing? Note that dojo does event normalization so that branching like this in client code (like dijit) shouldn't be necessary.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5567 – Description

    initial v1  
    11dijit.Menu._openMyself contains code like the following:
    2 
     2{{{
    33                if(dojo.isSafari || this._contextMenuWithMouse){
    44                        x=e.pageX;
     
    1919                        orient: this.isLeftToRight() ? 'L' : 'R'
    2020                });
    21 
     21}}}
    2222Unfortunately, e.target does not work on IE and you get an error. If you add an additional check like this it works fine and the popup appears:
    23 
     23{{{
    2424                else if (dojo.IE) {
    2525                        // otherwise open near e.target
     
    2828                        y = coords.y + 10;
    2929                }
    30 
     30}}}
    3131This code is covered under ATG's CCLA you have on file.