mirror of
https://github.com/django/django.git
synced 2025-09-27 12:39:17 +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
1 changed files with 2 additions and 2 deletions
|
@ -19,9 +19,9 @@ var Actions = {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
toggleRow: function(tr, checked) {
|
toggleRow: function(tr, checked) {
|
||||||
if (checked) {
|
if (checked && tr.className.indexOf('selected') == -1) {
|
||||||
tr.className += ' selected';
|
tr.className += ' selected';
|
||||||
} else {
|
} else if (!checked) {
|
||||||
tr.className = tr.className.replace(' selected', '');
|
tr.className = tr.className.replace(' selected', '');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue