elofgren: Use onclick instead of onchange event so that blacklist add/removing is immediately called by IE when checkboxes are clicked on the 'Bounced' tab of the 'Mailing List' section of the 'Newsletters' section.

(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42049 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-16 02:24:38 +00:00
parent 2d04f8e14b
commit 4fd3e3510a

View File

@ -17,7 +17,7 @@ Behaviour.register( {
// Called when checkbox on Bounced tab of Mailing List is clicked // Called when checkbox on Bounced tab of Mailing List is clicked
Behaviour.register( { Behaviour.register( {
'#BouncedListTable tr td.markingcheckbox input': { '#BouncedListTable tr td.markingcheckbox input': {
onchange : function(e) { onclick : function(e) {
new Ajax.Request( new Ajax.Request(
'admin/newsletter/memberblacklisttoggle/' + this.value, 'admin/newsletter/memberblacklisttoggle/' + this.value,
{ {