js update

This commit is contained in:
Nathan Coad
2016-07-22 10:00:19 +10:00
parent 1beffbadf4
commit dc01c12ae2

View File

@@ -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(),