1. #1
    Ext User
    Join Date
    Mar 2007
    Vote Rating
    Chroder is on a distinguished road


    Default 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:
    this.fireVisibilityChanged.createDelegate is not a function
    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.

    Any ideas?

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    New York, NY
    Vote Rating
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough



    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

  1. Popup Calendar inside a dialog
    By nvosker in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 7 Mar 2011, 6:54 PM
  2. Help popup for input fields.
    By Animal in forum Community Discussion
    Replies: 15
    Last Post: 4 Feb 2008, 9:38 PM
  3. popup like jack's blog system :D
    By luke83 in forum Ext 1.x: Help & Discussion
    Replies: 21
    Last Post: 24 Jan 2008, 11:08 PM
  4. newbie question: how make popup nav element based on tree
    By mcdavis941 in forum Ext 1.x: Help & Discussion
    Replies: 7
    Last Post: 9 Dec 2006, 8:32 AM

Thread Participants: 1