Skip to content
This repository
Browse code

Smarter panel defaults in history

  • Loading branch information...
commit 346264ddf286ae4600c99f0e7afcf6951c8bba60 1 parent a857220
Remy Sharp authored April 07, 2012

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  list-history.php
5  list-history.php
@@ -58,6 +58,11 @@ function getRelativeTime($date) {
58 58
       $args[] = 'css';
59 59
     }
60 60
 
  61
+    // show the console instead of the live render if there's no HTML
  62
+    if ($js && !$html) {
  63
+      $args[0] = '?console';
  64
+    }
  65
+
61 66
     // TODO decide whether I need the root here...
62 67
     $editurl = $url . 'edit' . implode(',', $args);
63 68
 

0 notes on commit 346264d

Please sign in to comment.
Something went wrong with that request. Please try again.