Sha256: 5e53089aef5bf772bce6bffeb8427b04409d47ee8d7484967fa5897e08081be4

Contents?: true

Size: 433 Bytes

Versions: 8

Compression:

Stored size: 433 Bytes

Contents

$(document).ready(function() {
  $('a#twilio-verify-request-sms-link').unbind('ajax:success');
  $('a#twilio-verify-request-sms-link').bind('ajax:success', function(evt, data, status, xhr) {
    alert(data.message);
  });

  $('a#twilio-verify-request-phone-call-link').unbind('ajax:success');
  $('a#twilio-verify-request-phone-call-link').bind('ajax:success', function(evt, data, status, xhr) {
    alert(data.message);
  });
});

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
devise-twilio-verify-0.2.5 app/assets/javascripts/devise_twilio_verify.js
devise-twilio-verify-0.2.4 app/assets/javascripts/devise_twilio_verify.js
devise-twilio-verify-0.2.3 app/assets/javascripts/devise_twilio_verify.js
devise-twilio-verify-0.2.2 app/assets/javascripts/devise_twilio_verify.js
devise-twilio-verify-0.2.1 app/assets/javascripts/devise_twilio_verify.js
devise-twilio-verify-0.2.0 app/assets/javascripts/devise_twilio_verify.js
devise-twilio-verify-0.1.1 app/assets/javascripts/devise_twilio_verify.js
devise-twilio-verify-0.1.0 app/assets/javascripts/devise_twilio_verify.js