robnyman / domassistant

Automatically exported from code.google.com/p/domassistant
1 stars 0 forks source link

IE+Prototype+domassistant #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use IE (8)
2. Use prototype and domassistant
3. try to use a style method of domassistant

What is the expected output? What do you see instead?
I just wanted to remove a class of a container div, but nothing happens. I 
found out that this problem comes from adding methods to an element (method: 
addMethodsToElm). It's throwing a 'not implemented method' when it attempt to 
call the method "all".
I attached a simple example with all you need to reproduce the situation.

For me it's working if i change the "addMethodsToElm" to:
try{
    this.applyMethod.call(elm, method, this.allMethods[method]);
}catch(e){}

Thanks

Original issue reported on code.google.com by robert.w...@googlemail.com on 9 Jul 2010 at 7:26

Attachments: