Commit 21b46c23 by Sam

fixed using itemsCssClass in BootThumbnails

parent 5c014d8a
...@@ -21,6 +21,8 @@ class BootThumbnails extends BootListView ...@@ -21,6 +21,8 @@ class BootThumbnails extends BootListView
*/ */
public function renderItems() public function renderItems()
{ {
echo CHtml::openTag($this->itemsTagName,array('class'=>$this->itemsCssClass))."\n";
$data = $this->dataProvider->getData(); $data = $this->dataProvider->getData();
if (!empty($data)) if (!empty($data))
...@@ -41,5 +43,7 @@ class BootThumbnails extends BootListView ...@@ -41,5 +43,7 @@ class BootThumbnails extends BootListView
} }
else else
$this->renderEmptyText(); $this->renderEmptyText();
echo CHtml::closeTag($this->itemsTagName);
} }
} }
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