You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2013/05/13 15:10:51 UTC

[5/5] git commit: WICKET-5178 StopPropagation functionality on link is broken

WICKET-5178 StopPropagation functionality on link is broken


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

Branch: refs/heads/wicket-6.x
Commit: 70a7ad2062d3210982c36482e0daea3766b2bf6e
Parents: f5e8f6d
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Mon May 13 16:07:06 2013 +0300
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Mon May 13 16:10:38 2013 +0300

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


http://git-wip-us.apache.org/repos/asf/wicket/blob/70a7ad20/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 7a17267..fdce64e 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
@@ -1811,13 +1811,12 @@
 							throttler.throttle(throttlingSettings.id, throttlingSettings.d,
 								Wicket.bind(function () {
 									call.ajax(attributes);
-									Wicket.Ajax._handleEventCancelation(attributes);
 								}, this));
 						}
 						else {
 							call.ajax(attributes);
-							Wicket.Ajax._handleEventCancelation(attributes);
 						}
+						Wicket.Ajax._handleEventCancelation(attributes);
 					});
 				});
 			},