click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r779245 - /incubator/click/trunk/click/framework/src/org/apache/click/util/PageImports.java
Date Wed, 27 May 2009 17:12:51 GMT
Author: sabob
Date: Wed May 27 17:12:51 2009
New Revision: 779245

URL: http://svn.apache.org/viewvc?rev=779245&view=rev
Log:
removed duplicate addLoadEvent check

Modified:
    incubator/click/trunk/click/framework/src/org/apache/click/util/PageImports.java

Modified: incubator/click/trunk/click/framework/src/org/apache/click/util/PageImports.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/util/PageImports.java?rev=779245&r1=779244&r2=779245&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/util/PageImports.java (original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/util/PageImports.java Wed May
27 17:12:51 2009
@@ -698,12 +698,6 @@
         JsScript jsScript = new JsScript();
         copyAttributes(jsScript, line);
         jsScript.append(extractJsContent(line, jsScript));
-
-        // If the script must be executed on dom ready, set the domready
-        // attribute to true.
-        if (jsScript.getContent().toString().indexOf("addLoadEvent") >= 0) {
-            jsScript.setExecuteOnDomReady(true);
-        }
         return jsScript;
     }
 



Mime
View raw message