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_r383106539
 
 

 ##########
 File path: 
wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js
 ##########
 @@ -278,6 +278,15 @@
                        }
                },
 
+               // aborts current request is there is any running
+               abort: function () {
+                       if (isUndef(this.jqXHR)) {
+                               Wicket.Log.debug("There is no executing request 
fro channel " + this.name)
 
 Review comment:
   s/fro/for/

----------------------------------------------------------------
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