-
4 Nov 2006 8:58 PM #1
Popup with error
Popup with error
I hope this isn't another embarrassing error on my part

I have a script that opens a popup window. But in Firefox, for some reason on the first load I get this error:Using Firebug to do the stack trace, it's always coming from a line where I use getEl(). The weird thing is that it works if I refresh the page (F5 since I hide the toolbars), and it works just fine in Opera that I just tested. It's always that initial load on the popup and only in Firefox.Code:this.fireVisibilityChanged.createDelegate is not a function
Any ideas?
-
4 Nov 2006 9:04 PM #2
It means you have an invalid element object. Generally this is caused when the id passed to getEl() is invalid (like if there is more than 1 element with that id) or the element passed has no id and you didn't tell getEl to generate one (second param true). In my latest dev copy I have turned on generateId by default so the second param is no longer required.
In the latest beta (downloadable on the latest blog post) it returns null now instead of a busted Element object. That should help debugging for sure.
Similar Threads
-
Popup Calendar inside a dialog
By nvosker in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 7 Mar 2011, 6:54 PM -
Help popup for input fields.
By Animal in forum Community DiscussionReplies: 15Last Post: 4 Feb 2008, 9:38 PM -
popup like jack's blog system :D
By luke83 in forum Ext 1.x: Help & DiscussionReplies: 21Last Post: 24 Jan 2008, 11:08 PM -
newbie question: how make popup nav element based on tree
By mcdavis941 in forum Ext 1.x: Help & DiscussionReplies: 7Last Post: 9 Dec 2006, 8:32 AM


Reply With Quote