js update
This commit is contained in:
@@ -15,7 +15,7 @@ jQuery(document).ready(function($) {
|
|||||||
}
|
}
|
||||||
catch(err) {
|
catch(err) {
|
||||||
//console.log([err]);
|
//console.log([err]);
|
||||||
msg(err);
|
alert(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use the token to create the charge with a server-side script.
|
// Use the token to create the charge with a server-side script.
|
||||||
@@ -35,7 +35,7 @@ jQuery(document).ready(function($) {
|
|||||||
// return;
|
// return;
|
||||||
var settings = Drupal.settings.booking_stripe;
|
var settings = Drupal.settings.booking_stripe;
|
||||||
var $stripeForm = $("#" + settings.form_selector);
|
var $stripeForm = $("#" + settings.form_selector);
|
||||||
msg($(':input[name="description"]', $stripeForm));
|
alert($(':input[name="description"]', $stripeForm));
|
||||||
handler.open({
|
handler.open({
|
||||||
name: settings.name,
|
name: settings.name,
|
||||||
//description: currentForm.find('input[name="description"]').val(),
|
//description: currentForm.find('input[name="description"]').val(),
|
||||||
|
Reference in New Issue
Block a user