Results 1 to 5 of 5

Thread: Ext.onready different behavior than window.onload?!

  1. #1
    Ext JS Premium Member
    Join Date
    Feb 2009
    Posts
    47

    Default Ext.onready different behavior than window.onload?!

    I fixed a bug in encapsulating my function "On.ready" in a function "windows.onload" because in my application that mixes php and javascript, javascript was executed before the end of page load.
    I would like to understand why and if there are other solutions?

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245
    Answers
    1

    Default

    It's really difficult to detect when a page is fully loaded. Ext.onReady has gone through several iterations to get it right. Which Core version are you using (if you are using an older version you might have problems with onReady in frames).

  3. #3
    Ext JS Premium Member
    Join Date
    Feb 2009
    Posts
    47

    Default

    extjs 3.0.0

  4. #4
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245
    Answers
    1

    Default

    Ext JS or Ext Core (you're posting in the Core section)?

    There were some bugs in Ext JS 3.0 Ext.onReady that were finally fixed in Ext 3.2.

    You would have to upgrade (or at least upgrade the EventManager code).

  5. #5
    Ext JS Premium Member
    Join Date
    Feb 2009
    Posts
    47

    Default

    sorry I did not know where i was supposed to post (i do not speak fluent in english)
    thank you, i will upgrade.

Similar Threads

  1. Replies: 3
    Last Post: 16 Sep 2010, 12:12 AM
  2. [2.2][FIXED] Ext.onReady and onLoad
    By alayasf in forum Ext 2.x: Bugs
    Replies: 124
    Last Post: 4 Mar 2010, 4:36 AM
  3. IE body onload is called before Ext.onReady
    By jhachetan in forum Ext 3.x: Help & Discussion
    Replies: 8
    Last Post: 9 Nov 2009, 2:55 PM
  4. OnReady OnLoad afterLoad problem
    By sekaijin in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 5 Apr 2008, 3:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •