diff --git a/admin-dev/themes/default/template/helpers/list/list_footer.tpl b/admin-dev/themes/default/template/helpers/list/list_footer.tpl index 534d27d6f..2ed23de6e 100644 --- a/admin-dev/themes/default/template/helpers/list/list_footer.tpl +++ b/admin-dev/themes/default/template/helpers/list/list_footer.tpl @@ -47,7 +47,6 @@  {$params.text} - {/if} {/foreach} diff --git a/js/admin.js b/js/admin.js index d378023d6..d5e9cf080 100644 --- a/js/admin.js +++ b/js/admin.js @@ -1045,7 +1045,11 @@ function hideOtherLanguage(id) function sendBulkAction(form, action) { - $(action).val(1); + String.prototype.splice = function( idx, rem, s ) { + return (this.slice(0,idx) + s + this.slice(idx + Math.abs(rem))); + }; + + $(form).attr('action', $(form).attr('action').splice($(form).attr('action').lastIndexOf('&'), 0, '&' + action)); $(form).submit(); }