martin-g commented on a change in pull request #408: allow to abort currently 
executing request for an Ajax channel
URL: https://github.com/apache/wicket/pull/408#discussion_r383106777
 
 

 ##########
 File path: 
wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js
 ##########
 @@ -319,6 +328,26 @@
                        return c.schedule(callback);
                },
 
+               // register AJAX request
+               registerCurrentAjaxRequest: function(name, jqXHR) {
+                       var c = this.channels[name];
+                       if (isUndef(c)) {
+                               Wicket.Log.error("No channel with name " + name)
 
 Review comment:
   missing semicolon at the end

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to