Author: brosner
Date: 2009-03-23 22:11:38 -0500 (Mon, 23 Mar 2009)
New Revision: 10135
Modified:
django/trunk/django/contrib/admin/media/js/actions.js
Log:
Fixed #10597 -- select all checkbox on admin changelist now works under IE 6
and 7. Thanks kyle.fox.
Modified: django/trunk/django/contrib/admin/media/js/actions.js
===================================================================
--- django/trunk/django/contrib/admin/media/js/actions.js 2009-03-24
03:01:46 UTC (rev 10134)
+++ django/trunk/django/contrib/admin/media/js/actions.js 2009-03-24
03:11:38 UTC (rev 10135)
@@ -3,8 +3,8 @@
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);
});
}
},
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---