From df4c8e9c5acd2b7f79c63dd599882ee98dacbc73 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Wed, 8 Nov 2017 08:31:37 -0500 Subject: [PATCH] CRM-21406 - Make standalone export work in popup context --- CRM/Export/Form/Select.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Export/Form/Select.php b/CRM/Export/Form/Select.php index d7f0c22f08..f1575a8b29 100644 --- a/CRM/Export/Form/Select.php +++ b/CRM/Export/Form/Select.php @@ -78,6 +78,8 @@ class CRM_Export_Form_Select extends CRM_Core_Form { * @return void */ public function preProcess() { + $this->preventAjaxSubmit(); + //special case for custom search, directly give option to download csv file $customSearchID = $this->get('customSearchID'); if ($customSearchID) { -- 2.25.1