mirror of https://github.com/zulip/zulip.git
199d3859fb
This is a prep commit for the Stripe checkout migration. create_ajax_request function used to create an ajax request to our billing API and on completion redirect to one of the URLs in our website. The stripe migration requires the ajax request function to execute Stripe javascript code post the request completion to redirect to Stripe checkout page. So this commit updates the function to accept a callback function which gets executed post the request completion. |
||
---|---|---|
.. | ||
billing.js | ||
helpers.js | ||
upgrade.js |