// toolbar one more time

This commit is contained in:
fBrignoli
2012-06-04 08:41:31 +00:00
parent f1bc1f6a2a
commit e24e7536ef
+3 -2
View File
@@ -1366,6 +1366,7 @@ class AdminControllerCore extends Controller
} }
elseif (!$this->ajax) elseif (!$this->ajax)
{ {
$this->content .= $this->renderList(); $this->content .= $this->renderList();
$this->content .= $this->renderOptions(); $this->content .= $this->renderOptions();
@@ -1493,9 +1494,9 @@ class AdminControllerCore extends Controller
{ {
if ($this->fields_options && is_array($this->fields_options)) if ($this->fields_options && is_array($this->fields_options))
{ {
if (isset($this->display) && $this->display != 'options') if (isset($this->display) && $this->display != 'options' && $this->display != 'list')
$this->show_toolbar = false; $this->show_toolbar = false;
else if (!isset($this->display)) else
$this->display = 'options'; $this->display = 'options';
unset($this->toolbar_btn); unset($this->toolbar_btn);