Author: mgrigorov
Date: Thu Sep 29 14:13:37 2011
New Revision: 1177314

URL: http://svn.apache.org/viewvc?rev=1177314&view=rev
Log:
WICKET-4092 Improve wicket-ajax.js processScript method to not use 
XMLHttpRequest for loading <script src="">

Notify that the execution of the current step finished so other steps can be 
executed too.


Modified:
    wicket/trunk/wicket-core/src/main/java/org/apache/wicket/ajax/wicket-ajax.js

Modified: 
wicket/trunk/wicket-core/src/main/java/org/apache/wicket/ajax/wicket-ajax.js
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/main/java/org/apache/wicket/ajax/wicket-ajax.js?rev=1177314&r1=1177313&r2=1177314&view=diff
==============================================================================
--- 
wicket/trunk/wicket-core/src/main/java/org/apache/wicket/ajax/wicket-ajax.js 
(original)
+++ 
wicket/trunk/wicket-core/src/main/java/org/apache/wicket/ajax/wicket-ajax.js 
Thu Sep 29 14:13:37 2011
@@ -1695,10 +1695,10 @@ Wicket.Head.Contributor.prototype = {
                                                
Wicket.Log.error("Wicket.Head.Contributor.processScript: " + e + ": eval -> " + 
text);
                                        }
                                }
-                               
-                               // continue to next step
-                               notify();
                        }
+                       
+                       // continue to next step
+                       notify();
                });                                     
        },
 


Reply via email to