Are you sure that line is your problem?  It appears as you wrote it 3  
times (lines 35, 45, 218 of position.js) with a handful of similar  
variants.  Based on a quick visual inspection of the code (not the  
most reliable debugging mechanism, to be sure) the null case appears  
to be appropriately handled.

I don't have IE7 handy to test on, sorry.



TAG

On Feb 22, 2007, at 8:07 AM, kikeperdi wrote:

>
> Hi
> I have a problem with drag & drop on IE (version 7 too). When I drag
> an object IE sends the error message "Unespicified Error". The problem
> is in this line inside the prototype.js
>
>       element = element.offsetParent;
>
> Maybe the problem is that IE sends element.offsetParent NULL instead
> of HTMLBodyElement object, but I don't know how to resolve it.
> Any ideas?
>
> On Firefox it works great
>
> Bye
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to