1. Christoph Zwerschke
  2. tgext.debugbar

Commits

Christoph Zwerschke  committed af4e83c

Tell user when waiting for a query.

  • Participants
  • Parent commits 005645e
  • Branches default

Comments (0)

Files changed (1)

File tgext/debugbar/templates/debugbar.html

View file
 		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();