Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a corner case from [10258]; thanks, Alex.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit aea0bb68e05e57beb1690b39b4ce5da424f50a4c 1 parent cc5477d
@jacobian jacobian authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/admin/media/js/actions.js
View
4 django/contrib/admin/media/js/actions.js
@@ -19,9 +19,9 @@ var Actions = {
});
},
toggleRow: function(tr, checked) {
- if (checked) {
+ if (checked && tr.className.indexOf('selected') == -1) {
tr.className += ' selected';
- } else {
+ } else if (!checked) {
tr.className = tr.className.replace(' selected', '');
}
},
Please sign in to comment.
Something went wrong with that request. Please try again.