change stripe library config

This commit is contained in:
Nathan Coad
2016-07-21 11:44:45 +10:00
parent cb0b3b5cad
commit 9a3687e1d1
2 changed files with 25 additions and 5 deletions

View File

@@ -54,9 +54,10 @@ function booking_stripeform_form($form, &$form_state) {
$form['#attached'] = array(
'js' => array(
array('data' => $setting, 'type' => 'setting'),
//drupal_get_path('module', 'booking') . '/booking.stripe.js',
),
'library' => array(
array('booking', 'booking.stripe'),
array('booking', 'stripe'),
),
);