Sha256: 7f78b6d4c2b74f44c8ddeb712f689a447052de37ec2e6c5c8352b432bd8e50ce

Contents?: true

Size: 364 Bytes

Versions: 9

Compression:

Stored size: 364 Bytes

Contents

CATARSE.StripeForm = CATARSE.UserDocument.extend({
  el: '#catarse_stripe_form',

  events: {
    'click input[type=submit]': 'onSubmitToStripe',
    'keyup #user_document' : 'onUserDocumentKeyup'
  },

  initialize: function() {
    this.loader = $('.loader');
  },

  onSubmitToStripe: function(e) {
    $(e.currentTarget).hide();
    this.loader.show();
  }
});

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
catarse_stripe-0.1.0.0.1 app/assets/javascripts/catarse_stripe/stripe_form.js
catarse_stripe-0.1.0 app/assets/javascripts/catarse_stripe/stripe_form.js
catarse_stripe-0.0.8 app/assets/javascripts/catarse_stripe/stripe_form.js
catarse_stripe-0.0.7 app/assets/javascripts/catarse_stripe/stripe_form.js
catarse_stripe-0.0.6 app/assets/javascripts/catarse_stripe/stripe_form.js
catarse_stripe-0.0.5 app/assets/javascripts/catarse_stripe/stripe_form.js
catarse_stripe-0.0.3 app/assets/javascripts/catarse_stripe/stripe_form.js
catarse_stripe-0.0.2 app/assets/javascripts/catarse_stripe/stripe_form.js
catarse_stripe-0.0.1 app/assets/javascripts/catarse_stripe/stripe_form.js