We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59ee2d5 commit b6bfaf5Copy full SHA for b6bfaf5
Metadata/js/omnipay_PaypalRest.js
@@ -12,6 +12,11 @@
12
13
onInit: function(data, actions) {
14
15
+ // On webform, hide the submit button as it's triggered automatically
16
+ if (CRM.$('[type="submit"].webform-submit').length !== 0) {
17
+ $('[type="submit"].webform-submit').hide();
18
+ }
19
+
20
$('[type="submit"][formnovalidate="1"]',
21
'[type="submit"][formnovalidate="formnovalidate"]',
22
'[type="submit"].cancel',
0 commit comments