|
|
|
@ -26,8 +26,9 @@ class Toolbar extends Widget
|
|
|
|
|
$url = Yii::$app->getUrlManager()->createUrl($this->debugAction, array( |
|
|
|
|
'tag' => Yii::getLogger()->tag, |
|
|
|
|
)); |
|
|
|
|
$this->view->registerJs("yii.debug.load('$id', '$url');"); |
|
|
|
|
$this->view->registerAssetBundle('yii/debug'); |
|
|
|
|
$view = $this->getView(); |
|
|
|
|
$view->registerJs("yii.debug.load('$id', '$url');"); |
|
|
|
|
$view->registerAssetBundle('yii/debug'); |
|
|
|
|
echo Html::tag('div', '', array( |
|
|
|
|
'id' => $id, |
|
|
|
|
'style' => 'display: none', |
|
|
|
|