From ea1f9430ddb58f28b50cc702f9eb2612f19e308d Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Sun, 22 Mar 2009 23:41:15 -0700 Subject: Add fix so jQuery doesn't conflict with other Javascript libraries. I think I finally got this one working. The saving of the temporary variable has to happen *before* jQuery loads, or else jQuery has already stomped on the '$' variable that another library might have used. This patch moves the temporary saving of this variable the HTML template so it tucks it aside before jQuery loads and puts it back after we're done. Tested and works with jQuery, mootools, and prototype.--- debug_toolbar/templates/debug_toolbar/base.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'debug_toolbar/templates') diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html index 7277620..52b7a5b 100644 --- a/debug_toolbar/templates/debug_toolbar/base.html +++ b/debug_toolbar/templates/debug_toolbar/base.html @@ -1,10 +1,17 @@ + -- cgit v1.2.3