mirror of https://github.com/django/django.git
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($) {
|
(function($) {
|
||||||
var _actions_icnt, lastChecked;
|
var lastChecked;
|
||||||
|
|
||||||
$.fn.actions = function(opts) {
|
$.fn.actions = function(opts) {
|
||||||
var options = $.extend({}, $.fn.actions.defaults, opts);
|
var options = $.extend({}, $.fn.actions.defaults, opts);
|
||||||
|
|
Loading…
Reference in New Issue