| 1 |
// $Id: $ |
// $Id: mollom.js,v 1.2.2.1 2008/06/15 21:36:17 dries Exp $ |
| 2 |
|
|
| 3 |
Drupal.behaviors.mollom = function() { |
Drupal.behaviors.mollom = function() { |
| 4 |
// Add onclick.event handlers for CAPTCHA links: |
// Add onclick.event handlers for CAPTCHA links: |
| 20 |
// Add an onclick-event handler for the new link: |
// Add an onclick-event handler for the new link: |
| 21 |
$('a#image-captcha').click(getImageCaptcha); |
$('a#image-captcha').click(getImageCaptcha); |
| 22 |
}); |
}); |
| 23 |
|
return false; |
| 24 |
} |
} |
| 25 |
|
|
| 26 |
function getImageCaptcha() { |
function getImageCaptcha() { |
| 37 |
// Add an onclick-event handler for the new link: |
// Add an onclick-event handler for the new link: |
| 38 |
$('a#audio-captcha').click(getAudioCaptcha); |
$('a#audio-captcha').click(getAudioCaptcha); |
| 39 |
}); |
}); |
| 40 |
|
return false; |
| 41 |
} |
} |
| 42 |
|
|