mirror of
https://github.com/django/django.git
synced 2024-12-25 02:26:12 +00:00
Fixed a corner case from [10258]; thanks, Alex.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
cc5477df89
commit
aea0bb68e0
@ -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', '');
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user