From 13e6f3e971e1b37d40c8d3434e32a157ae9da3d5 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 19 Jul 2016 20:22:10 -0400 Subject: [PATCH] CRM-17606 - Fix js bug due to nonstandard form class name --- CRM/Case/Form/Task/{PrintMergeDoc.php => PDF.php} | 2 +- CRM/Case/Task.php | 2 +- templates/CRM/Case/Form/Task/{PrintMergeDoc.tpl => PDF.tpl} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename CRM/Case/Form/Task/{PrintMergeDoc.php => PDF.php} (97%) rename templates/CRM/Case/Form/Task/{PrintMergeDoc.tpl => PDF.tpl} (100%) diff --git a/CRM/Case/Form/Task/PrintMergeDoc.php b/CRM/Case/Form/Task/PDF.php similarity index 97% rename from CRM/Case/Form/Task/PrintMergeDoc.php rename to CRM/Case/Form/Task/PDF.php index 672c5a077e..24e3ba9631 100644 --- a/CRM/Case/Form/Task/PrintMergeDoc.php +++ b/CRM/Case/Form/Task/PDF.php @@ -34,7 +34,7 @@ /** * This class provides the functionality to create PDF letter for a group of contacts. */ -class CRM_Case_Form_Task_PrintMergeDoc extends CRM_Case_Form_Task { +class CRM_Case_Form_Task_PDF extends CRM_Case_Form_Task { /** * All the existing templates in the system. * diff --git a/CRM/Case/Task.php b/CRM/Case/Task.php index ecb96cb506..4f9dcdea0a 100644 --- a/CRM/Case/Task.php +++ b/CRM/Case/Task.php @@ -88,7 +88,7 @@ class CRM_Case_Task { ), 5 => array( 'title' => ts('Print/merge Document'), - 'class' => 'CRM_Case_Form_Task_PrintMergeDoc', + 'class' => 'CRM_Case_Form_Task_PDF', 'result' => FALSE, ), ); diff --git a/templates/CRM/Case/Form/Task/PrintMergeDoc.tpl b/templates/CRM/Case/Form/Task/PDF.tpl similarity index 100% rename from templates/CRM/Case/Form/Task/PrintMergeDoc.tpl rename to templates/CRM/Case/Form/Task/PDF.tpl -- 2.25.1