Commit 922f185b by Qiang Xue

bug fix.

parent 29077460
......@@ -577,7 +577,7 @@ class View extends Component
$bundle = $am->getBundle($name);
$this->assetBundles[$name] = false;
$bundle->registerAssets($this);
$this->assetBundles[$name] = true;
$this->assetBundles[$name] = $bundle;
} elseif ($this->assetBundles[$name] === false) {
throw new InvalidConfigException("A circular dependency is detected for bundle '$name'.");
}
......
......@@ -41,7 +41,7 @@ class NavBar extends Widget
*/
public $responsive = true;
/**
* @var string the text of the brand.
* @var string the text of the brand. Note that this is not HTML-encoded.
* @see http://twitter.github.io/bootstrap/components.html#navbar
*/
public $brandLabel;
......
......@@ -28,7 +28,7 @@ $this->title = 'Yii Debugger';
<div class="container">
<div class="row">
<div class="col-lg-2">
<div class="list-group affix-top">
<div class="list-group">
<?php
foreach ($panels as $id => $panel) {
$label = '<i class="glyphicon glyphicon-chevron-right"></i>' . Html::encode($panel->getName());
......
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