This project is archived and is in readonly mode.

#231 ✓resolved

Mask problem with IE

Reported by dfghi | January 13th, 2010 @ 05:31 PM | in

I'm using mootools 1.2.4 and mootools more (with almost everything).

I'm extending a Spinner, but the problem seems starting with Mask. I need only to pass my fxOptions to the Spinner, that should cover the whole body. Mootools docs says that the default target of the Spinner is the body.
If you instantiate "new MySpinner(null, flashSpinnerOptions)" or "new MySpinner(undefined, flashSpinnerOptions)", everything works fine under FF (and chrome and safari as well), but under IE8 you get an error on the second line of Mask.initialize, seems that is null/undefined.

I was able to solve the problem changing the first line of Mask.initialize from: = || document.body;

to: = ||;

Unfortunately it took me a while to figure out that I could also do "new MySpinner(document.body, flashSpinnerOptions)"...

The previous description was a bit rushed, so I rewrote it completely.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The MooTools Extensions

People watching this ticket