Browse Source

Keep the current debug panel open.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
52e5a5dd8c
  1. 2
      framework/yii/debug/views/default/view.php

2
framework/yii/debug/views/default/view.php

@ -55,7 +55,7 @@ $this->title = 'Yii Debugger';
$label = $meta['tag'] . ': ' . $meta['method'] . ' ' . $meta['url'] . ($meta['ajax'] ? ' (AJAX)' : '') $label = $meta['tag'] . ': ' . $meta['method'] . ' ' . $meta['url'] . ($meta['ajax'] ? ' (AJAX)' : '')
. ', ' . date('Y-m-d h:i:s a', $meta['time']) . ', ' . date('Y-m-d h:i:s a', $meta['time'])
. ', ' . $meta['ip']; . ', ' . $meta['ip'];
$url = array('view', 'tag' => $meta['tag']); $url = array('view', 'tag' => $meta['tag'], 'panel' => $activePanel->id);
echo '<li>' . Html::a(Html::encode($label), $url) . '</li>'; echo '<li>' . Html::a(Html::encode($label), $url) . '</li>';
if (++$count >= 10) { if (++$count >= 10) {
break; break;

Loading…
Cancel
Save