Updated Branches:
  refs/heads/master efeae4f40 -> 2974a5ab4

WICKET-5093 The event listener in Wicket.Ajax.ajax() should not return the 
value of attrs.ad (allowDefault)


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/2974a5ab
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/2974a5ab
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/2974a5ab

Branch: refs/heads/master
Commit: 2974a5ab48313b1f11720774132d1fa70bba6b62
Parents: efeae4f
Author: Martin Tzvetanov Grigorov <[email protected]>
Authored: Mon Mar 11 14:47:46 2013 +0100
Committer: Martin Tzvetanov Grigorov <[email protected]>
Committed: Mon Mar 11 14:47:46 2013 +0100

----------------------------------------------------------------------
 .../wicket/ajax/res/js/wicket-ajax-jquery.js       |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/2974a5ab/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js 
b/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js
index 994c27a..11ab136 100644
--- 
a/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js
+++ 
b/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js
@@ -1700,12 +1700,10 @@
                                                        
throttler.throttle(throttlingSettings.id, throttlingSettings.d,
                                                                
Wicket.bind(function () {
                                                                        
call.ajax(attributes);
-                                                                       return 
attributes.ad;
                                                                }, this));
                                                }
                                                else {
                                                        call.ajax(attributes);
-                                                       return attributes.ad;
                                                }
                                        });
                                });

Reply via email to