recurly/recurly-js — pull request #20 by TheDeveloper (2011-11-24 21:43:27+00:00)
Title: Submit button copy & state

If successURL is defined, the submit button should not be re-enabled because we're redirecting on successful submit anyway. This is so as not to confuse the user and allow them to re-submit as the page is redirecting.

Re-enable the button on error.

Also added option to override the text in the button.