Forum: Rails Spinoffs (closed, excessive spam) Possible bug in scriptaculous v1.8.1

Posted by NathanD (Guest)
on 2008-06-27 09:01
(Received via mailing list)
On IE7 I get 'Object does not support this action' for the line

      delete this.element._originallyAbsolute;

This is in dragdrop.js at line 410

sticking the following just before this line

    alert( this.element.tagName + "," +
this.element._originallyAbsolute );

and I get 'DIV,false'

If I change the line to

      this.element._originallyAbsolute =  null;

and everything seems to work fine. Obviously this is something IE
handles incorrectly, but is this a bug with scriptaculous, does
_originallyAbsolute really need to be deleted can't it just be set to
null, in fact looking through the code setting it to false should work
also.
Posted by kangax (Guest)
on 2008-06-27 13:51
(Received via mailing list)
This was fixed in a recent commit
http://github.com/madrobby/scriptaculous/commit/47...

-- kangax
This topic is locked and can not be replied to.