You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by sv...@apache.org on 2013/01/17 12:52:14 UTC
git commit: WICKET-4986 prevent 'member not found' for calls on busy
channel
Updated Branches:
refs/heads/master bc10ba570 -> c77d4dce9
WICKET-4986 prevent 'member not found' for calls on busy channel
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/c77d4dce
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/c77d4dce
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/c77d4dce
Branch: refs/heads/master
Commit: c77d4dce9676879aba74b26caaea2732ebf564d9
Parents: bc10ba5
Author: svenmeier <sv...@apache.org>
Authored: Thu Jan 17 12:51:34 2013 +0100
Committer: svenmeier <sv...@apache.org>
Committed: Thu Jan 17 12:51:34 2013 +0100
----------------------------------------------------------------------
.../wicket/ajax/res/js/wicket-ajax-jquery.js | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/c77d4dce/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 feb00bf..c082cf0 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
@@ -594,7 +594,12 @@
Wicket.Event.publish('/ajax/call/after', attrs);
if (!attrs.ad && attrs.event) {
- attrs.event.preventDefault();
+ try {
+ attrs.event.preventDefault();
+ } catch (ignore) {
+ // WICKET-4986
+ // jquery fails 'member not found' with calls on busy channel
+ }
}
return jqXHR;