Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
jitendra
mjwshared
Commits
0a9b8c6e
Commit
0a9b8c6e
authored
Jan 18, 2021
by
jitendra
Browse files
Fix stripe load on d8 webforms
parent
41821f82
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/crm.payment.js
View file @
0a9b8c6e
...
...
@@ -112,7 +112,7 @@
var
submit
=
null
;
if
(
CRM
.
payment
.
getIsDrupalWebform
())
{
submit
=
this
.
form
.
querySelectorAll
(
'
[type="submit"].webform-submit
'
);
if
(
!
submit
)
{
if
(
submit
.
length
===
0
)
{
// drupal 8 webform
submit
=
this
.
form
.
querySelectorAll
(
'
[type="submit"].webform-button--submit
'
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment