[imp] Javascript "function" syntax

Chuck Hagenbuch chuck@horde.org
Tue, 22 May 2001 13:02:06 -0400


Quoting Alexander Dietz <alex@munich.sgi.com>:

> I am using IMP 2.2.4 over a SSL connection and discovered the following
> problem (which does not occure every time): Clicking on "Compose" (or
> "Contacs") does not open a compose window; Netscape is reporting a Javascript
> error: "open_compose_win not defined". The interesting thing is, that "View
> Frame Source" comes up with all relevant functions.
> 
> After changing all function definitions in imp/lib/js/* from
>   function any_name (args)
> to
>   function any_name(args)
> (i.e. deleting the space), all is running fine.

That sounds extremely unlikely. You might get that error when you click Compose 
before the page finishes loading; are you sure that's not it?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Black and white and grey, all the shades of truth.