Fixed #10597 -- select all checkbox on admin changelist now works under IE 6 and 7. Thanks kyle.fox.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Brian Rosner 2009-03-24 03:11:38 +00:00
parent e5a8d9e810
commit c5aa6fa710
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@ var Actions = {
selectAll = document.getElementById('action-toggle');
if (selectAll) {
selectAll.style.display = 'inline';
addEvent(selectAll, 'change', function() {
Actions.checker(this.checked);
addEvent(selectAll, 'click', function() {
Actions.checker(selectAll.checked);
});
}
},