Skip to content

Commit

Permalink
Fixed a corner case from [10258]; thanks, Alex.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
jacobian committed Mar 31, 2009
1 parent cc5477d commit aea0bb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django/contrib/admin/media/js/actions.js
Expand Up @@ -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', '');
}
},
Expand Down

0 comments on commit aea0bb6

Please sign in to comment.