Changes between Initial Version and Version 1 of Ticket #12427


Ignore:
Timestamp:
Mar 11, 2011, 4:18:13 AM (9 years ago)
Author:
bill
Comment:

This sounds more like a dijit problem that it should be ignoring mouseup from a drag operation.

About the code above, there's no reason to assume that this.domNode is defined, or that it's focusable. Or even that dijit is loaded.

Can you attach a test case?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12427 – Description

    initial v1  
    1 In Safari, if there is Drag-and-Drag in side a pop up,  once avatar is destroyed, pop-up will collapse.
     1In Safari, if there is Drag-and-Drag inside a popup,  once avatar is destroyed, popup will collapse.
    22
    33Firefox is working fine.
     
    66
    77dojo.dnd.Source.js onMouse() might be changed to
     8
     9{{{
    810onMouseUp: function(e){
    911                // summary:
     
    1315                if(this.mouseDown){
    1416                        this.mouseDown = false;
    15 dijit.focus(this.domNode); //   switch focus before calling dnd.Manager's onMouseUp (which calls stopDrag())              dojo.dnd.Source.superclass.onMouseUp.call(this, e);
     17dijit.focus(this.domNode); //   switch focus before calling dnd.Manager's onMouseUp (which calls stopDrag())
     18                        dojo.dnd.Source.superclass.onMouseUp.call(this, e);
    1619                }
    1720        },
     21}}}