From: mzd Date: Wed, 30 Apr 2014 22:09:25 +0000 (-0400) Subject: CRM-14353 - replacing formNavigate.tpl in-progress X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d0e5acafcf9d8a48a04789afb0150adec16e18b9;p=civicrm-core.git CRM-14353 - replacing formNavigate.tpl in-progress ---------------------------------------- * CRM-14353: Fix formNavigate to work with multiple forms & ajax https://issues.civicrm.org/jira/browse/CRM-14353 --- diff --git a/CRM/Mailing/Form/Group.php b/CRM/Mailing/Form/Group.php index 5b312838e0..53ed42b54f 100644 --- a/CRM/Mailing/Form/Group.php +++ b/CRM/Mailing/Form/Group.php @@ -39,6 +39,8 @@ */ class CRM_Mailing_Form_Group extends CRM_Contact_Form_Task { + protected $unsavedChangesWarn = TRUE; + /** * the mailing ID of the mailing if we are resuming a mailing * diff --git a/templates/CRM/Mailing/Form/Group.tpl b/templates/CRM/Mailing/Form/Group.tpl index e273a97c62..9e091fa0ad 100644 --- a/templates/CRM/Mailing/Form/Group.tpl +++ b/templates/CRM/Mailing/Form/Group.tpl @@ -76,8 +76,5 @@ {/if}
{include file="CRM/common/formButtons.tpl"}
- -{* include jscript to warn if unsaved form field changes *} -{include file="CRM/common/formNavigate.tpl"}