Hi all,

I'm having a strange problem. It's only started happening recently however I can't for the life of me figure out what is causing it.

the short story is that Tapestry.init is never being called.

the long story is that prototype.fireContentLoadedEvent is being called prematurely, ie before Tapestry.onDOMLoaded(function() { Tapestry.init(...);});

prototype.fireContentLoadedEvent is being called from the handler for when !document.addEventListener
ie (see prototype.js line 4125)

  } else {
document.write("<script id=__onDOMContentLoaded defer src=//:><\/script>");
    $("__onDOMContentLoaded").onreadystatechange = function() {
      if (this.readyState == "complete") {
        this.onreadystatechange = null;
        fireContentLoadedEvent();
      }
    };
  }

and this is happening well before tapestry has added its handlers...

any tips?

thanks, paul.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to