Ticket #2529425 (assigned defect)

Reporter


bzbugs
Opened: 04/25/11
Last modified: 04/26/11
Status: assigned
Type: defect

Owner


Gonzalo Cordero
Target Release:
Priority: P3 (normal)
Summary: [bz 4482840] drag and drop of datatable rows doesn't work in IE8
Description:

see bugzilla ticket for more detaiils.

the drag and drop of datatable rows doesn't work in IE8. the proxy will disappear before mouse release.

If I changed this code, the issue seems to be fixed. Please verify this fix does not have any other side effect.

in dragdrap-debug.js
handleMouseMove: function(e) {
//YAHOO.log("handlemousemove");

var dc = this.dragCurrent;
if (dc) {
// YAHOO.log("no current drag obj");

// var button = e.which || e.button;
// YAHOO.log("which: " + e.which + ", button: "+ e.button);

// check for IE mouseup outside of page boundary
if (YAHOO.util.Event.isIE && !e.button) {
YAHOO.log("button failure", "info", "DragDropMgr");
this.stopEvent(e);
// return this.handleMouseUp(e);
//I CHANGED HERE
return;
} else {
if (e.clientX < 0 || e.clientY < 0) {
//This will stop the element from leaving the viewport in FF, Opera & Safari
//Not turned on yet
//YAHOO.log("Either clientX or clientY is negative, stop the event.", "info", "DragDropMgr");
//this.stopEvent(e);
//return false;
}
}

Type: defect Observed in Version: 2.9.0
Component: DataTable Severity: S3 (normal)
Assigned To: Gonzalo Cordero Target Release:
Location: Priority: P3 (normal)
Tags: Relates To:
Browsers: N/A
URL:
Test Information:

Change History

George

YUI Developer

Posted: 04/25/11

Luke Smith

YUI Contributor

Posted: 04/25/11

Jenny Donnelly

YUI Developer

Posted: 04/26/11

This bug was originally reported in and is being tracked in Bugzilla.