Commits

Christoph Zwerschke committed af4e83c

Tell user when waiting for a query.

Comments (0)

Files changed (1)

tgext/debugbar/templates/debugbar.html

 		var master = $(this).closest('.tgdb_content_box');
 		var detail = master.next();
 		master.hide();
+		detail.html('<p>&nbsp;</p><h1>Executing SQL...</h1>').show();
 		detail.load($(this).attr('href'), function() {
-			detail.fadeIn(function() {
+			detail.hide().fadeIn(function() {
 				$('.tgdb_back a', detail).one('click', function() {
 					detail.hide();
 					master.fadeIn();