bugfix
This commit is contained in:
@@ -24,12 +24,10 @@ jQuery(document).ready(function($) {
|
||||
});
|
||||
|
||||
$('.form-submit').click(function (e) {
|
||||
//currentForm = $(this).closest('form');
|
||||
//if (currentForm === undefined)
|
||||
// return;
|
||||
var $settings = Drupal.settings.booking_stripe;
|
||||
var $stripeForm = $("#" + $settings.form_selector);
|
||||
|
||||
var $amount = $(':input[name="gross_amount"]', $stripeForm).val() * 100;
|
||||
|
||||
handler.open({
|
||||
name: $settings.name,
|
||||
currency: "aud",
|
||||
|
Reference in New Issue
Block a user