Hi folks,

I was able to reinstall an older version of IE9 PP (1.9.7916.6000) but
it also raises the drag'n'drop problem. I start started debugging and
found the following (Prototype version 1.6.1, Scriptaculous v1.8.3):

script.aculo.us will start dragging only if you pressed the left
button (for sure ;-)). To check the the button it calls isLeftClick
from Prototype which calls an internal method named _isButton
(prototype.js, line 4290). This one checks whether the given button
number matches the pressed button number. The function is specific for
IE and WebKit-Browsers. In the IE-case it uses a LUT to verify that
both button number match, since the IE seems to have a different
button numbering (correct me if I'm wrong  - I just studied the
source).

Anyway, the IE-specific solution seems not to work in IE9 PP. As a
quick'n'dirty hack I just removed the according code and... voilà..
drag and drop is working again in IE9. After reinstalling PP v5 the
hack still works.

I propose that a check for the IE version would solve the problem in a
more sophisticated fashion.

Regards


Steffen

PS: Note, that I didn't check if the problem persists in the 1.7
release candidate.

On 27 Sep., 13:37, Steffen Christgau <[email protected]>
wrote:
> On 24 Sep., 21:58, tazz_ben <[email protected]> wrote:
>
> > Are other people seeing issues with script.aculo.us' drag and drop in
> > the latest beta of IE 9?  
>
> Yes. After updating the Platform Preview to "version" 5
> (1.9.7930.16406) today, I encountered that problem too. Not sure, but
> former tests with PP4 didn't reveal such a problem with drag and drop.
> Can someone confirm this?
>
> Regards
>
> Steffen

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to