diff options
Diffstat (limited to 'debug_toolbar/media/toolbar.js')
| -rw-r--r-- | debug_toolbar/media/toolbar.js | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/debug_toolbar/media/toolbar.js b/debug_toolbar/media/toolbar.js index 5baed78..400586a 100644 --- a/debug_toolbar/media/toolbar.js +++ b/debug_toolbar/media/toolbar.js @@ -9,6 +9,9 @@ jQuery(function() {  		init: function() {  			var current = null;  			$j('#djDebugPanelList li a').click(function() { +				if (!this.className) { +					return false; +				}  				current = $j('#djDebug #' + this.className);  				if (current.is(':visible')) {  					$j(document).trigger('close.djDebug'); @@ -35,12 +38,16 @@ jQuery(function() {  			});  			$j('#djDebugTemplatePanel a.djTemplateShowContext').click(function() {  				$j.djDebug.toggle_content($j(this).parent().next()); +				return false;  			});  			$j('#djHideToolBarButton').click(function() { +				$j(document).trigger('close.djDebug');  				$j.djDebug.hide_toolbar(true); +				return false;  			});  			$j('#djShowToolBarButton').click(function() {  				$j.djDebug.show_toolbar(); +				return false;  			});  			if ($j.cookie(COOKIE_NAME)) {  				$j.djDebug.hide_toolbar(false);  | 
