// fix bug in bulk_actions of type "delete" in AdminController's

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10809 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2011-11-30 15:24:50 +00:00
parent b08563276b
commit 2067344c18
17 changed files with 30 additions and 53 deletions
@@ -45,6 +45,8 @@ class AdminCurrenciesControllerCore extends AdminController
'active' => array('title' => $this->l('Enabled'), 'width' => 25, 'align' => 'center', 'active' => 'status', 'type' => 'bool', 'orderby' => false),
);
$this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?')));
$this->options = array(
'general' => array(
'title' => $this->l('Currencies options'),
@@ -86,7 +88,6 @@ class AdminCurrenciesControllerCore extends AdminController
{
$this->addRowAction('edit');
$this->addRowAction('delete');
$this->bulk_actions = array('delete' => array('text' => $this->l('Delete selected'), 'confirm' => $this->l('Delete selected items?')));
$this->_where = 'AND a.`deleted` = 0';