From: Coleman Watts Date: Mon, 8 Jun 2015 20:25:16 +0000 (-0400) Subject: CRM-16521 - Fix name badge download from popup X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=22029f77b5d5b2baf38ac28da7918abcfcc9d9f7;p=civicrm-core.git CRM-16521 - Fix name badge download from popup --- diff --git a/CRM/Event/Form/Task/Badge.php b/CRM/Event/Form/Task/Badge.php index 9969baeb88..078e2e7190 100644 --- a/CRM/Event/Form/Task/Badge.php +++ b/CRM/Event/Form/Task/Badge.php @@ -90,6 +90,9 @@ class CRM_Event_Form_Task_Badge extends CRM_Event_Form_Task { public function buildQuickForm() { CRM_Utils_System::setTitle(ts('Make Name Badges')); + // Ajax submit would interfere with file download + $this->preventAjaxSubmit(); + //add select for label $label = CRM_Badge_BAO_Layout::getList();