Sha256: 9d95a8e4c31de6517f8e56564cae3b61dc0497199303852628ec8065fc2e329e

Contents?: true

Size: 887 Bytes

Versions: 12

Compression:

Stored size: 887 Bytes

Contents

// recaptcha.js.coffee
(function(){var t,a,n;$(window).ready(function(){return $("body").on("submit","form.slotter",function(t){var n;if("on"===(n=$(this)).data("recaptcha"))return a(n,t)})}),a=function(t,a){var e;return null==(e=t.find("input._recaptcha-token"))[0]?e.val("recaptcha-token-field-missing"):e.hasClass("_token-updated")?e.removeClass("_token-updated"):"undefined"==typeof grecaptcha||null===grecaptcha?e.val("grecaptcha-undefined"):n(t,a)},n=function(a,n){var e;return null==(e=a.find("input._recaptcha-token"))[0]?e.val("recaptcha-token-field-missing"):"undefined"==typeof grecaptcha||null===grecaptcha?e.val("grecaptcha-undefined"):(n&&n.stopPropagation(),t(a,n,e),!1)},t=function(t,a,n){var e,c;return c=n.data("site-key"),e=n.data("action"),grecaptcha.execute(c,{action:e}).then(function(e){if(n.val(e),n.addClass("_token-updated"),a)return t.submit()})}}).call(this);

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
card-mod-recaptcha-0.18.1 data/files/mod_recaptcha_script_asset_output/file.js
card-mod-recaptcha-0.18.0 data/files/mod_recaptcha_script_asset_output/file.js
card-mod-recaptcha-0.17.0 data/files/mod_recaptcha_script_asset_output/file.js
card-mod-recaptcha-0.16.0 data/files/mod_recaptcha_script_asset_output/file.js
card-mod-recaptcha-0.15.6 data/files/mod_recaptcha_script_asset_output/file.js
card-mod-recaptcha-0.15.5 data/files/mod_recaptcha_script_asset_output/file.js
card-mod-recaptcha-0.15.4 data/files/mod_recaptcha_script_asset_output/file.js
card-mod-recaptcha-0.15.3 data/files/mod_recaptcha_script_asset_output/file.js
card-mod-recaptcha-0.15.2.pre1 data/files/mod_recaptcha_script_asset_output/file.js
card-mod-recaptcha-0.15.1.1 data/files/mod_recaptcha_script_asset_output/file.js
card-mod-recaptcha-0.15.1 data/files/mod_recaptcha_script_asset_output/file.js
card-mod-recaptcha-0.15.0 data/files/mod_recaptcha_script_asset_output/file.js