I have been debugging this for over two days now and it is getting to my
nerves ;) - The issue does not seem to be with mootools as I just found out.
It is with the event listener code -
item.addEvent('mousedown', function(e)
{
e = new Event(e).stop();
var el = e.target;
el = $(el);
var clone = el.clone()
}
Even before calling clone, the "el" object has this property "*
el.attributes.$family"* set. Since this is set to a string for IE8 (all
other browsers seem fine), mootools does not copy over the properties. Is
this the right way to get the target of an event? Any other suggestions?
On Thu, Jul 1, 2010 at 5:30 AM, Sanford Whiteman <
[email protected]> wrote:
> > You will see that the clone did not copy over the attribute "art". The
> > problem seems to be with the implementation of clone method in version
> > 1.2dev of mootools (have added this as a resource in jsfiddle).
>
> Yeah, works in 1.12 (I think you got some of your code from 1.11
> demos). I'm sorry I can't be more helpful just yet but I can second a
> regression in 1.2.3-1.2.4.
>
> -- Sandy
>
>
--
"The best way to make your dreams come true is to wake up." - Paul Valery