Skip to content

Commit bb5bf83

Browse files
committed
Merge remote-tracking branch 'origin/dev' into GFA-Elementor-forms-visible-fields-#2
# Conflicts: # js/apbct-public-bundle_ext-protection.min.js.map # js/apbct-public-bundle_full-protection.min.js.map
2 parents 2c39db7 + 08bae45 commit bb5bf83

5 files changed

+17
-5
lines changed

js/apbct-public-bundle_ext-protection.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/apbct-public-bundle_full-protection.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/src/apbct-public--5--external-forms.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ function ctProtectExternal() {
2525
(currentForm.action.indexOf('webto.salesforce.com') !== -1)) ||
2626
(typeof(currentForm.action) == 'string' &&
2727
currentForm.querySelector('[href*="activecampaign"]')) ||
28-
(typeof(currentForm.action) == 'string' && currentForm.action.indexOf('hsforms.com') !== -1 && currentForm.getAttribute('data-hs-cf-bound'))
28+
(
29+
typeof(currentForm.action) == 'string' &&
30+
currentForm.action.indexOf('hsforms.com') !== -1 &&
31+
currentForm.getAttribute('data-hs-cf-bound')
32+
)
2933
) {
3034
apbctProcessExternalFormByFakeButton(currentForm, i, document);
3135
// Common flow - modify form's action

js/src/apbct-public-bundle_ext-protection.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4333,7 +4333,11 @@ function ctProtectExternal() {
43334333
(currentForm.action.indexOf('webto.salesforce.com') !== -1)) ||
43344334
(typeof(currentForm.action) == 'string' &&
43354335
currentForm.querySelector('[href*="activecampaign"]')) ||
4336-
(typeof(currentForm.action) == 'string' && currentForm.action.indexOf('hsforms.com') !== -1 && currentForm.getAttribute('data-hs-cf-bound'))
4336+
(
4337+
typeof(currentForm.action) == 'string' &&
4338+
currentForm.action.indexOf('hsforms.com') !== -1 &&
4339+
currentForm.getAttribute('data-hs-cf-bound')
4340+
)
43374341
) {
43384342
apbctProcessExternalFormByFakeButton(currentForm, i, document);
43394343
// Common flow - modify form's action

js/src/apbct-public-bundle_full-protection.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4769,7 +4769,11 @@ function ctProtectExternal() {
47694769
(currentForm.action.indexOf('webto.salesforce.com') !== -1)) ||
47704770
(typeof(currentForm.action) == 'string' &&
47714771
currentForm.querySelector('[href*="activecampaign"]')) ||
4772-
(typeof(currentForm.action) == 'string' && currentForm.action.indexOf('hsforms.com') !== -1 && currentForm.getAttribute('data-hs-cf-bound'))
4772+
(
4773+
typeof(currentForm.action) == 'string' &&
4774+
currentForm.action.indexOf('hsforms.com') !== -1 &&
4775+
currentForm.getAttribute('data-hs-cf-bound')
4776+
)
47734777
) {
47744778
apbctProcessExternalFormByFakeButton(currentForm, i, document);
47754779
// Common flow - modify form's action

0 commit comments

Comments
 (0)