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:
parent
e5a8d9e810
commit
c5aa6fa710
|
@ -3,8 +3,8 @@ var Actions = {
|
||||||
selectAll = document.getElementById('action-toggle');
|
selectAll = document.getElementById('action-toggle');
|
||||||
if (selectAll) {
|
if (selectAll) {
|
||||||
selectAll.style.display = 'inline';
|
selectAll.style.display = 'inline';
|
||||||
addEvent(selectAll, 'change', function() {
|
addEvent(selectAll, 'click', function() {
|
||||||
Actions.checker(this.checked);
|
Actions.checker(selectAll.checked);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue