From 22029f77b5d5b2baf38ac28da7918abcfcc9d9f7 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 8 Jun 2015 16:25:16 -0400 Subject: [PATCH] CRM-16521 - Fix name badge download from popup --- CRM/Event/Form/Task/Badge.php | 3 +++ 1 file changed, 3 insertions(+) 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(); -- 2.25.1