// submit bulk delete categoy fix

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14156 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2012-03-14 14:18:00 +00:00
parent 921b688fea
commit ca5e6b5da6
2 changed files with 2 additions and 11 deletions
@@ -28,7 +28,7 @@
{if $bulk_actions} {if $bulk_actions}
<p> <p>
{foreach $bulk_actions as $key => $params} {foreach $bulk_actions as $key => $params}
<input type="submit" class="button" name="submitBulk{$key}" value="{$params.text}" {if isset($params.confirm)}onclick="return confirm('{$params.confirm}');"{/if} /> <input type="submit" class="button" name="submitBulk{$key}{$table}" value="{$params.text}" {if isset($params.confirm)}onclick="return confirm('{$params.confirm}');"{/if} />
{/foreach} {/foreach}
</p> </p>
{/if} {/if}
@@ -655,15 +655,6 @@ class AdminCategoriesControllerCore extends AdminController
INSERT INTO '._DB_PREFIX_.$this->table.'_'.$type.' (`'.pSQL($this->identifier).'`, `id_'.$type.'`) INSERT INTO '._DB_PREFIX_.$this->table.'_'.$type.' (`'.pSQL($this->identifier).'`, `id_'.$type.'`)
VALUES '.pSQL($insert)); VALUES '.pSQL($insert));
} }
/**
* @param $token
* @return bool
*/
protected function processSelectDelete($token)
{
return parent::processBulkDelete($token);
}
} }