aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/media/toolbar.js
AgeCommit message (Collapse)Author
2009-04-02Moving media so they are "namespaced" like templates.Rob Hudson
2009-03-22Add fix so jQuery doesn't conflict with other Javascript libraries.Rob Hudson
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.
2009-03-22Close the panel if the toolbar is hiding.Rob Hudson
2009-03-21Adding stack traces to SQL panel to see where the calls are coming from.Rob Hudson
Merge branch 'sql_stacktrace' * sql_stacktrace: Tuple unpacking of stacktrace variables for niceness. Add preliminary support for stacktraces to see where SQL queries are coming from.
2009-03-21jQuery 1.3 cleanup.Rob Hudson
* jQuery events changed slightly which caused the click event on '#djDebugPanelList li a' to fire when the hide link was clicked. The hide link has no class attribute and an error was occurring. This checks for the lack of a class attribute and returns false immediately if it doesn't exist. The other event should catch normally and hide the toolbar. * Updating all click methods to return false. * Close the opened panel when hide is clicked.
2009-03-21Reverting commit 2a839fd, "Restrict the debug toolbar to a single row of ↵Rob Hudson
panels." There were some issues with this commit that need to be resolved before it's added back in.
2009-03-21Restrict the debug toolbar to a single row of panels.Malcolm Tredinnick
Any panels that would cause the toolbar to wrap to a new line are put into a new final panel called "more..." and are accessible via a vertical list under that panel. Slight tweaks were made to the original to match a previous commit's Javascript style. Signed-off-by: Rob Hudson <rob@cogit8.org>
2009-03-21Patch from kmike84 to fix conflict if project uses mootools.Rob Hudson
2009-01-23Add preliminary support for stacktraces to see where SQL queries are coming ↵Rob Hudson
from. I'm wanting to test this a bit more before I merge it in fully. Feedback welcome.
2009-01-17Minor stylistic changes to CSS and Javascript file after merge.Rob Hudson
2009-01-17Adding ability to show/hide toolbar, using jquery.cookie.js for statefulness.Reto Aebersold
Signed-off-by: Rob Hudson <rob@cogit8.org>
2008-09-23Possible fix for jQuery.noConflict() removing '$' from scope and breaking otherRob Hudson
scripts that depend on it.
2008-09-20finishing up ajax work for sql explainRob Hudson
2008-09-20Merge commit '8e124b0a129ab351ec6cae30d8358709d4c1430b'Rob Hudson
From Simon Willison's branch: Use pformat for template contexts, which makes it more readable
2008-09-20From Simon Willison but cleaned up tabbing: Use $ shortcut for jQuery withoutRob Hudson
conflicting with other libraries
2008-09-20partly done with ajax support and jsRob Hudson
2008-09-20Use $ shortcut for jQuery without conflicting with other librariesSimon Willison
2008-09-20jQuery patch from Alex Gaynor.Rob Hudson
2008-09-18I noticed the template_rendered signal from the test suite also passed context,Rob Hudson
so I'm including the context with each template in the Template panel. This should make the designers happy.
2008-09-16We now have a jQuery.djDebug object to extend. This might be overkill but itRob Hudson
fixes a few issues with open/closing panels and adds a keybinding on the ESC key to close any panels that are open.
2008-09-16Updating toolbar.js to close panel on 2nd click.Rob Hudson
2008-09-15Modified scripts to use jQuery, and moved 'em to a better place.Jacob Kaplan-Moss