From: mzd Date: Wed, 30 Apr 2014 23:10:20 +0000 (-0400) Subject: CRM-14353 - undo add of unsavedChangesWarn Form property X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f49915f86c1ef68d942e7e976985a06568718d44;p=civicrm-core.git CRM-14353 - undo add of unsavedChangesWarn Form property ---------------------------------------- * CRM-14353: Fix formNavigate to work with multiple forms & ajax https://issues.civicrm.org/jira/browse/CRM-14353 --- diff --git a/CRM/Case/Form/Activity.php b/CRM/Case/Form/Activity.php index 20b694b2e9..7ce28799d6 100644 --- a/CRM/Case/Form/Activity.php +++ b/CRM/Case/Form/Activity.php @@ -38,8 +38,6 @@ * */ class CRM_Case_Form_Activity extends CRM_Activity_Form_Activity { - - protected $unsavedChangesWarn = TRUE; /** * The default variable defined diff --git a/CRM/Case/Form/Case.php b/CRM/Case/Form/Case.php index 64eb2f7074..ff4814dbc3 100644 --- a/CRM/Case/Form/Case.php +++ b/CRM/Case/Form/Case.php @@ -39,8 +39,6 @@ */ class CRM_Case_Form_Case extends CRM_Core_Form { - protected $unsavedChangesWarn = TRUE; - /** * The context * diff --git a/CRM/Mailing/Form/Group.php b/CRM/Mailing/Form/Group.php index 53ed42b54f..5b312838e0 100644 --- a/CRM/Mailing/Form/Group.php +++ b/CRM/Mailing/Form/Group.php @@ -39,8 +39,6 @@ */ 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/CRM/Mailing/Form/Schedule.php b/CRM/Mailing/Form/Schedule.php index 5865b9e404..3dcd9055b6 100644 --- a/CRM/Mailing/Form/Schedule.php +++ b/CRM/Mailing/Form/Schedule.php @@ -38,8 +38,6 @@ */ class CRM_Mailing_Form_Schedule extends CRM_Core_Form { - protected $unsavedChangesWarn = TRUE; - /** * Function to set variables up before form is built * diff --git a/CRM/Mailing/Form/Settings.php b/CRM/Mailing/Form/Settings.php index 123bbd8efe..15b58f1742 100644 --- a/CRM/Mailing/Form/Settings.php +++ b/CRM/Mailing/Form/Settings.php @@ -38,8 +38,6 @@ */ class CRM_Mailing_Form_Settings extends CRM_Core_Form { - protected $unsavedChangesWarn = TRUE; - /** * Function to set variables up before form is built * diff --git a/CRM/Mailing/Form/Test.php b/CRM/Mailing/Form/Test.php index 116fc2ded9..c3028898ad 100644 --- a/CRM/Mailing/Form/Test.php +++ b/CRM/Mailing/Form/Test.php @@ -38,8 +38,6 @@ */ class CRM_Mailing_Form_Test extends CRM_Core_Form { - protected $unsavedChangesWarn = TRUE; - /** * Function to set variables up before form is built * diff --git a/CRM/Mailing/Form/Upload.php b/CRM/Mailing/Form/Upload.php index fc4238d776..507b794cf1 100644 --- a/CRM/Mailing/Form/Upload.php +++ b/CRM/Mailing/Form/Upload.php @@ -38,8 +38,6 @@ */ class CRM_Mailing_Form_Upload extends CRM_Core_Form { - protected $unsavedChangesWarn = TRUE; - public $_mailingID; function preProcess() { diff --git a/CRM/Pledge/Form/Pledge.php b/CRM/Pledge/Form/Pledge.php index dd2bc9b179..cafb67983f 100644 --- a/CRM/Pledge/Form/Pledge.php +++ b/CRM/Pledge/Form/Pledge.php @@ -74,8 +74,6 @@ class CRM_Pledge_Form_Pledge extends CRM_Core_Form { */ public $_isPending = FALSE; - protected $unsavedChangesWarn = TRUE; - /** * Function to set variables up before form is built *