[dev] compose problem

Jan Schneider jan at horde.org
Wed Jan 22 00:08:23 PST 2003


Zitat von Eric Rostetter <eric.rostetter at physics.utexas.edu>:

> Quoting Jan Schneider <jan at horde.org>:
> 
> > > It added the line:
> > >
> > >   document.compose.style.cursor = "wait";
> > >
> > > This doesn't work on older javascript browsers (like Netscape 4.x)
> and
> > > throws a javascript error, meaning no one using such browsers can
> send
> > > email.  Removing this one line fixes the problem.
> >
> > What is the exact message of the javascript error?
> >
> > Jan.
> 
> Well, I edited the url which would otherwise be a mile long, but the rest
> is exact:
> 
> JavaScript Error:
> https://mail.ph.utexas.edu/imp/compose.php?Horde= blah blah blah
> line 393:
> 
> document.compose.style has no properties.

That's easy then. Replace the line with:

if (document.compose.style && document.compose.style.cursor) {
    document.compose.style.cursor = "wait";
}

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list