Repository: wicket Updated Branches: refs/heads/wicket-7.x 468cfb8a3 -> fb9db2f9c
Improve jQuery.noConflict() support. The fix that was introduced with the fix for WICKET-6204 fails to work with jQuery.noConflict(). (cherry picked from commit 98b1073090ab16df64eaa9ddffeba7489818a8be) (cherry picked from commit 451ae250f4c9dce8900eb1b1854e22fca9d0570c) Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/fb9db2f9 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/fb9db2f9 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/fb9db2f9 Branch: refs/heads/wicket-7.x Commit: fb9db2f9cc14d9e14daee4c92dcfad2a05d0fc7b Parents: 468cfb8 Author: Jezza <[email protected]> Authored: Thu Jun 8 10:47:26 2017 +0200 Committer: Martin Tzvetanov Grigorov <[email protected]> Committed: Wed Jun 14 14:44:33 2017 +0200 ---------------------------------------------------------------------- .../java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/fb9db2f9/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 f0289fc..bb76b01 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 @@ -2112,9 +2112,9 @@ var css = Wicket.Head.createElement("link"); // copy supplied attributes only. - var attributes = $(node).prop("attributes"); - var $css = $(css); - $.each(attributes, function() { + var attributes = jQuery(node).prop("attributes"); + var $css = jQuery(css); + jQuery.each(attributes, function() { $css.attr(this.name, this.value); });
