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 2015/07/05 15:35:03 UTC

wicket git commit: Replace '$' with 'jQuery' because it fails with "Wicket with Prototype.js" example (http://localhost:8080/we/prototype/)

Repository: wicket
Updated Branches:
  refs/heads/master 50e9fb1b1 -> 734a0d1c5


Replace '$' with 'jQuery' because it fails with "Wicket with Prototype.js" example (http://localhost:8080/we/prototype/)


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

Branch: refs/heads/master
Commit: 734a0d1c5a13e1345cdbd7e9952745f70b78fe93
Parents: 50e9fb1
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Sun Jul 5 16:28:59 2015 +0300
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Sun Jul 5 16:33:08 2015 +0300

----------------------------------------------------------------------
 .../org/apache/wicket/devutils/debugbar/wicket-debugbar.js     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/734a0d1c/wicket-devutils/src/main/java/org/apache/wicket/devutils/debugbar/wicket-debugbar.js
----------------------------------------------------------------------
diff --git a/wicket-devutils/src/main/java/org/apache/wicket/devutils/debugbar/wicket-debugbar.js b/wicket-devutils/src/main/java/org/apache/wicket/devutils/debugbar/wicket-debugbar.js
index b3a91ec..443c286 100644
--- a/wicket-devutils/src/main/java/org/apache/wicket/devutils/debugbar/wicket-debugbar.js
+++ b/wicket-devutils/src/main/java/org/apache/wicket/devutils/debugbar/wicket-debugbar.js
@@ -57,14 +57,14 @@ function wicketDebugBarCheckState() {
 	var state = wicketDebugBarGetExpandedCookie();
     // state cookie has not been set. determine state and set it
 	if (state === null) {
-		var isVisible = $('#wicketDebugBarContents').is(':visible');
+		var isVisible = jQuery('#wicketDebugBarContents').is(':visible');
 		wicketDebugBarSetExpandedCookie(isVisible ? 'expanded' : 'collapsed');
     // set state of debug bar according to cookie
 	} else {
 		if (state === 'expanded') {
-			$('#wicketDebugBarContents').css('display', '');
+			jQuery('#wicketDebugBarContents').css('display', '');
 		} else {
-			$('#wicketDebugBarContents').css('display', 'none');
+			jQuery('#wicketDebugBarContents').css('display', 'none');
 		}
 	}
 }