search for: domcontentloaded

Displaying 6 results from an estimated 6 matches for "domcontentloaded".

2007 Dec 03
3
DOMContentLoaded error on IE6
...ype.js"); document.getElementsByTagName("head") [0].appendChild(scr); on IE6 I get the following error: ''null'' is null or not an object The error occurs on the following lines: document.write("<script id=__onDOMContentLoaded defer src=//:><\/script>"); $("__onDOMContentLoaded").onreadystatechange = function() { if (this.readyState == "complete") { this.onreadystatechange = null; fireContentLoadedEvent();...
2007 Feb 12
18
document "expando" properties broken in Konqueror
I noticed that some of my event handlers and scripts evaluated in ajax responses didn''t work in Konqueror (3.5.5). document.getElementsByClassName is not defined in these contexts. I can work around this, by saving document.getElementsByClassName in a (namespaced) global variable once and reassigning it before each use. Still, this misfeature is annoying and not restricted to this
2007 Nov 20
0
Prototype error in IE for dom:loaded code
...postback, (Asp.Net does a POST to the same url and then under the hood raises events and other things, but from an HTML perspective it is just the POST method) then the page is re-rendered back to the client, and that is when I get a JS error on line 3989. That seems to be the code for faking the DOMContentLoaded event for IE. The code is: 3988: document.write("<script id=__onDOMContentLoaded defer src=//:><\/script>"); 3989: $("__onDOMContentLoaded").onreadystatechange = function() { The error I get is that $("__onDOMContentLoaded") is null. Going into a d...
2017 Nov 11
0
Wine release 2.21
...t free the argument if the freer was called, unless it's a simple ref. ole32: Correctly track the number of inits when auto-joining the MTA. Jacek Caban (10): jscript: Added support for VT_UI2 VARIANT types. mshtml: Added support for VT_UI2 in IDispatchEx. mshtml: Added DOMContentLoaded event implementation. mshtml: Expose IEventTarget to scripts. mshtml/tests: Added script IE9+ event tests. mshtml: Introduce variant_bool helper. mshtml: Added IDOMEvent::get_defaultPrevented implementation. mshtml: Use variant_bool helper where appropriate. msht...
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
..., { fire: Element.Methods.fire.methodize(), observe: Element.Methods.observe.methodize(), - stopObserving: Element.Methods.stopObserving.methodize() + stopObserving: Element.Methods.stopObserving.methodize(), + loaded: false }); (function() { /* Support for the DOMContentLoaded event is based on work by Dan Webb, Matthias Miller, Dean Edwards and John Resig. */ - var timer, fired = false; + var timer; function fireContentLoadedEvent() { - if (fired) return; + if (document.loaded) return; if (timer) window.clearInterval(timer); document.fire(...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server