The recent release of Prototype 1.60RC1 inadvertently breaks the drag and drop effect of Scriptaculous in IE6 (and 7). I don’t know about the exact cause of the error but according to sources around the internet, it’s because Prototype always returns false for the leftClick event in IE6. Luckily, the trunk version of Prototype has this bug patched (since revision 7954).
To fix the draggable, just patch your prototype.js file, replacing the code block “Event.method” around line 3686 with the newer code block from “event.js” in the prototype main trunk.
For your convenience, here is the patched prototype.js (release 1.60RC1) with fix from Event.js (rev 8037)
- Download: the patched prototype.js for Scriptaculous Draggable
Is this fixed in 1.6.0 ?
The patched file (above) and the 1.6.0 file are identical around line 3686.
However, a page with drag/drop that was working in IE6 is no longer working - can’t drop it anywhere. (In Firefox it is working.)