From 83a3add4bed8d8d49f93b30c817c66908b0a26ba Mon Sep 17 00:00:00 2001 From: Bas Peschier Date: Thu, 13 Feb 2014 19:32:56 +0100 Subject: [PATCH] Removed _actions_icnt declaration from local scope in admin JS. Commit 4523fcd introduces _actions_icnt to the local scope, which overrides the value set in the HTML. The admin would incorrectly show selected rows in a change list as "1 of undefined selected". --- django/contrib/admin/static/admin/js/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/static/admin/js/actions.js b/django/contrib/admin/static/admin/js/actions.js index 12927e402b..7aca5b4fe8 100644 --- a/django/contrib/admin/static/admin/js/actions.js +++ b/django/contrib/admin/static/admin/js/actions.js @@ -1,5 +1,5 @@ (function($) { - var _actions_icnt, lastChecked; + var lastChecked; $.fn.actions = function(opts) { var options = $.extend({}, $.fn.actions.defaults, opts);