From c5aa6fa71067b001c1d549b33ac4e2b409a70c75 Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Tue, 24 Mar 2009 03:11:38 +0000 Subject: [PATCH] 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 --- django/contrib/admin/media/js/actions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/admin/media/js/actions.js b/django/contrib/admin/media/js/actions.js index febb0c18c2..b5e556a04c 100644 --- a/django/contrib/admin/media/js/actions.js +++ b/django/contrib/admin/media/js/actions.js @@ -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); }); } },