You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2008/02/19 04:30:30 UTC

svn commit: r628980 - /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/scriptaculous_1_8/prototype.js

Author: hlship
Date: Mon Feb 18 19:30:28 2008
New Revision: 628980

URL: http://svn.apache.org/viewvc?rev=628980&view=rev
Log:
TAPESTRY-2108: Tapestry.onDOMLoaded not working in konqueror

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/scriptaculous_1_8/prototype.js

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/scriptaculous_1_8/prototype.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/scriptaculous_1_8/prototype.js?rev=628980&r1=628979&r2=628980&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/scriptaculous_1_8/prototype.js (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/scriptaculous_1_8/prototype.js Mon Feb 18 19:30:28 2008
@@ -4851,7 +4851,8 @@
 
     if (document.addEventListener)
     {
-        if (Prototype.Browser.WebKit)
+        // Note: patch from http://dev.rubyonrails.org/ticket/10532 
+        if (Prototype.Browser.WebKit || navigator.userAgent.include('KHTML'))
         {
             timer = window.setInterval(function()
             {