diff options
| author | Rob Hudson | 2009-03-22 23:41:15 -0700 |
|---|---|---|
| committer | Rob Hudson | 2009-03-22 23:41:15 -0700 |
| commit | ea1f9430ddb58f28b50cc702f9eb2612f19e308d (patch) | |
| tree | aef0b7d047c6beebdd87887dd6790ba5bc8f76f0 /debug_toolbar/middleware.py | |
| parent | bc8691de49618a41fc57f54420a921b1c8a7c4ff (diff) | |
| download | django-debug-toolbar-ea1f9430ddb58f28b50cc702f9eb2612f19e308d.tar.bz2 | |
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.
Diffstat (limited to 'debug_toolbar/middleware.py')
0 files changed, 0 insertions, 0 deletions
