Error: $A is not defined

78 views
Skip to first unread message

keemor

unread,
Nov 12, 2008, 10:34:39 AM11/12/08
to Prototype & script.aculo.us
Hi,

I had an error: $A is not defined

I found solution very fast http://www.skybyte.net/articles/prototype.js/
and wonder if I should put new ticket on http://prototype.lighthouseapp.com/dashboard
?

Is this fix for bind and bindAsEventListener methods correct?

T.J. Crowder

unread,
Nov 12, 2008, 10:42:43 AM11/12/08
to Prototype & script.aculo.us
> I had an error: $A is not defined

Where are you calling it from that it's not yet defined when you call
it? Can you post a small, self-contained page demonstrating the
problem to Pastie[1]?

[1] http://pastie.org
--
T.J. Crowder
tj / crowder software / com

On Nov 12, 3:34 pm, keemor <kee...@gmail.com> wrote:
> Hi,
>
> I had an error: $A is not defined
>
> I found solution very fasthttp://www.skybyte.net/articles/prototype.js/
> and wonder if I should put new ticket onhttp://prototype.lighthouseapp.com/dashboard

keemor

unread,
Nov 12, 2008, 11:12:46 AM11/12/08
to Prototype & script.aculo.us
On 12 Lis, 16:42, "T.J. Crowder" <t...@crowdersoftware.com> wrote:
> > I had an error: $A is not defined
>
> Where are you calling it from that it's not yet defined when you call
> it? Can you post a small, self-contained page demonstrating the
> problem to Pastie[1]?
It doesn't happen on localhost, but only on production server.
At this moment I'm not able to paste any simple example of this
error.
When we go public I will come to this topic.

Thx

Tobie Langel

unread,
Nov 12, 2008, 11:19:47 AM11/12/08
to Prototype & script.aculo.us
Hi keemor,

The proposed fix doesn't address the correct problem it also prevents
events from being fired during page load/unload in Firefox.

Furthermore, this should be fixed in 1.6

Best,

Tobie
Reply all
Reply to author
Forward
0 new messages