test library settings

This commit is contained in:
Nathan Coad
2016-07-21 11:55:39 +10:00
parent 9a3687e1d1
commit 28df961b87
3 changed files with 8 additions and 5 deletions

View File

@@ -44,7 +44,6 @@
var stripeResponseHandler = function(status, response) {
var $form = $("#" + Drupal.settings.booking_stripeform.form_selector);
alert($form);
if (response.error) {
alert(response.error.message);
} else {
@@ -52,7 +51,6 @@
var token = response.id;
// Insert the token into the form so it gets submitted to the server
$('input[name=stripeToken]', $form).val(token);
alert(token);
// and submit
$form.get(0).submit();
}