CRM-21406 - Make standalone export work in popup context
authorColeman Watts <coleman@civicrm.org>
Wed, 8 Nov 2017 13:31:37 +0000 (08:31 -0500)
committerColeman Watts <coleman@civicrm.org>
Wed, 8 Nov 2017 13:31:37 +0000 (08:31 -0500)
CRM/Export/Form/Select.php

index d7f0c22f0868fa7dc240ac92e06fe5118970f944..f1575a8b29afa818469ef4516c05127c38e0dd18 100644 (file)
@@ -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) {