Kaydet (Commit) c5aa6fa7 authored tarafından Brian Rosner's avatar Brian Rosner

Fixed #10597 -- select all checkbox on admin changelist now works under IE 6 and…

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
üst e5a8d9e8
...@@ -3,8 +3,8 @@ var Actions = { ...@@ -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);
}); });
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment