-
8 Apr 2010 1:20 PM #1
Ext.EventObject is undefined
Ext.EventObject is undefined
Hi there,
We met a weird problem when we load extjs page (Please see below for the error msg in firebug). It can not be reproduced every time, and doesn't have any stack trace back to our application js code. I searched on this forum, looks like there was another guy got the same error. His problem is loading the extjs lib twice within that page. But we are not doing that. So, any ideas on this?
Thanks!!
Joe
Code:Ext.EventObject is undefined e = Ext.EventObject.setEvent(e); Ext.EventObject is undefined http://xxhost/xxxWeb/js/ext/ext-all-debug.js Line 1705
-
10 Apr 2010 7:11 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28
are you launching your stuff with Ext.onReady()?

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
10 Apr 2010 6:30 PM #3
Thank you for the response!
It turned out that we did load the extjs lib twice.
Well, it's a little bit tricky. It's a bunch of grails web apps. We have a grails plugin which defines the generic web stuff. And it's installed to all the grails web apps. The extjs is defined in both the plugin and web app.
Thanks,
Joe


Reply With Quote