Browse files

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".
  • Loading branch information...
bpeschier authored and timgraham committed Feb 13, 2014
1 parent 474eecc commit 83a3add4bed8d8d49f93b30c817c66908b0a26ba
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 83a3add

Please sign in to comment.