From: Coleman Watts Date: Wed, 20 Jul 2016 00:22:10 +0000 (-0400) Subject: CRM-17606 - Fix js bug due to nonstandard form class name X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=13e6f3e971e1b37d40c8d3434e32a157ae9da3d5;p=civicrm-core.git CRM-17606 - Fix js bug due to nonstandard form class name --- 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