Browse Source

Fixes #629.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
a25a34d717
  1. 2
      framework/yii/bootstrap/Widget.php

2
framework/yii/bootstrap/Widget.php

@ -71,7 +71,7 @@ class Widget extends \yii\base\Widget
BootstrapAsset::register($view);
}
/** @var \yii\web\AssetBundle $assetClass */
$assetClass = 'yii\bootstrap\\' . ucfirst($name);
$assetClass = 'yii\bootstrap\\' . ucfirst($name) . 'Asset';
$assetClass::register($view);
if ($this->clientOptions !== false) {

Loading…
Cancel
Save