projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb48332
)
Survey - Fix 'Add Survey' form with popups
author
colemanw
<coleman@civicrm.org>
Fri, 22 Sep 2023 23:56:06 +0000
(19:56 -0400)
committer
colemanw
<coleman@civicrm.org>
Fri, 22 Sep 2023 23:56:06 +0000
(19:56 -0400)
CRM/Campaign/Form/Survey.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Campaign/Form/Survey.php
b/CRM/Campaign/Form/Survey.php
index e06367831d008dbc9486b50f1e61f6de8612a15e..e299f192e90e80b3b87d628b94152310238a41f5 100644
(file)
--- a/
CRM/Campaign/Form/Survey.php
+++ b/
CRM/Campaign/Form/Survey.php
@@
-58,6
+58,9
@@
class CRM_Campaign_Form_Survey extends CRM_Core_Form {
}
public function preProcess() {
+ // Multistep form doesn't play well with popups
+ $this->preventAjaxSubmit();
+
if (!CRM_Campaign_BAO_Campaign::accessCampaign()) {
CRM_Utils_System::permissionDenied();
}