myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: [Trinidad] "console" is undefined?
Date Wed, 12 Sep 2007 18:08:21 GMT
This is indeed an attempt to call the firebug console (if
it exists), and Andrew's totally right that the syntax here
is wrong.  FWIW, this should only be called if an error
has occurred, not in ordinary execution, so there's a more
essential problem elsewhere.

-- Adam


On 9/12/07, Andrew Robinson <andrew.rw.robinson@gmail.com> wrote:
>
> Yes, I get this all of the time to. I believe console is the firebug
> globally installed window variable (plug-in for firefox)
>
> I think the following code may be more IE friendly:
>
> if (window.console && window.console.error) {
> ...
> }
>
> On 9/12/07, Bertrand, Shawn R <shawn.bertrand@tycoelectronics.com> wrote:
> >
> >
> >
> >
> > I'm getting error generated from the first line of the following
> function in
> > Common1_0_2.js:
> >
> >
> >
> > TrRequestQueue._logError=function(a118)
> >
> > {
> >
> > if(console&&console.error)
> >
> > console.error(arguments);
> >
> > }
> >
> >
> >
> > This is running in IE 6.  Is this console object related to the Acrobat
> > console window?
> >
> >
> >
> > Thanks,
> >
> >
> >
> > Shawn
> >
> >
>

Mime
View raw message