tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject svn commit: r935589 - /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ajax/JavascriptSupportImpl.java
Date Mon, 19 Apr 2010 14:11:05 GMT
Author: hlship
Date: Mon Apr 19 14:11:04 2010
New Revision: 935589

URL: http://svn.apache.org/viewvc?rev=935589&view=rev
Log:
Ensure that adding any initialization call will add the core JavaScript stack to the page.
 All tests now pass.

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ajax/JavascriptSupportImpl.java

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ajax/JavascriptSupportImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ajax/JavascriptSupportImpl.java?rev=935589&r1=935588&r2=935589&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ajax/JavascriptSupportImpl.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ajax/JavascriptSupportImpl.java
Mon Apr 19 14:11:04 2010
@@ -204,6 +204,8 @@ public class JavascriptSupportImpl imple
         Defense.notBlank(functionName, "functionName");
         Defense.notNull(parameter, "parameter");
 
+        addCoreStackIfNeeded();
+        
         JSONObject init = inits.get(priority);
 
         if (init == null)



Mime
View raw message