Révision 7547bb19
Ajouté par Assos Assos il y a environ 7 ans
drupal7/sites/all/modules/captcha/captcha.js | ||
---|---|---|
4 | 4 |
attach: function (context) { |
5 | 5 |
|
6 | 6 |
// Turn off autocompletion for the CAPTCHA response field. |
7 |
// We do it here with Javascript (instead of directly in the markup)
|
|
7 |
// We do it here with JavaScript (instead of directly in the markup)
|
|
8 | 8 |
// because this autocomplete attribute is not standard and |
9 | 9 |
// it would break (X)HTML compliance. |
10 | 10 |
$("#edit-captcha-response").attr("autocomplete", "off"); |
Formats disponibles : Unified diff
Weekly update of contrib modules