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

This commit is contained in:
lLefevre
2011-11-30 15:24:50 +00:00
parent f2e81e4dc9
commit c97ee6e2f9
17 changed files with 30 additions and 53 deletions
+2 -2
View File
@@ -68,6 +68,8 @@ class AdminStoresControllerCore extends AdminController
'active' => array('title' => $this->l('Enabled'), '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('Parameters'),
@@ -117,8 +119,6 @@ class AdminStoresControllerCore 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->_select = 'cl.`name` country, st.`name` state';
$this->_join = '
LEFT JOIN `'._DB_PREFIX_.'country_lang` cl