Commit 52e5a5dd by Qiang Xue

Keep the current debug panel open.

parent 9644b40c
...@@ -55,7 +55,7 @@ $this->title = 'Yii Debugger'; ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment