From 4fe314eaa8456fe5d1c9676dc53347b0555cdd66 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Sun, 3 Sep 2006 18:24:38 +0200
Subject: [PATCH] https fix for window.onload

This should fix an issue with IE6 and https where the window.onload magic
would raise a security warning. See
http://dean.edwards.name/weblog/2006/06/again/#comment5776
http://dean.edwards.name/weblog/2006/06/again/#comment5788

needs testing

darcs-hash:20060903162438-7ad00-b29cd50387d1fef95bb688910b41e6b64cfeebca.gz
---
 lib/scripts/events.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/scripts/events.js b/lib/scripts/events.js
index 983d67250..c6aad02cf 100644
--- a/lib/scripts/events.js
+++ b/lib/scripts/events.js
@@ -104,7 +104,7 @@ window.fireoninit = function() {
   // for Internet Explorer (using conditional comments)
   /*@cc_on @*/
   /*@if (@_win32)
-    document.write("<script id=__ie_onload defer src=javascript:void(0)><\/script>");
+    document.write("<script id=__ie_onload defer src=javascript:false;><\/script>");
     var script = document.getElementById("__ie_onload");
     script.onreadystatechange = function() {
         if (this.readyState == "complete") {
-- 
GitLab