mirror of
https://github.com/django/django.git
synced 2025-02-04 14:37:19 +00:00
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".
This commit is contained in:
parent
474eeccb52
commit
83a3add4be
@ -1,5 +1,5 @@
|
||||
(function($) {
|
||||
var _actions_icnt, lastChecked;
|
||||
var lastChecked;
|
||||
|
||||
$.fn.actions = function(opts) {
|
||||
var options = $.extend({}, $.fn.actions.defaults, opts);
|
||||
|
Loading…
x
Reference in New Issue
Block a user