From: mzd <mzd@ginkgostreet.com>
Date: Wed, 30 Apr 2014 21:50:31 +0000 (-0400)
Subject: CRM-14353 - create boolean for config-by-form of warning to user of unsaved changes
X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=461fa5fbdd3b5dee9efa13f633ee9c93c62a09d0;p=civicrm-core.git

CRM-14353 - create boolean for config-by-form of warning to user of unsaved changes

----------------------------------------
* CRM-14353: Fix formNavigate to work with multiple forms & ajax
  https://issues.civicrm.org/jira/browse/CRM-14353
---

diff --git a/CRM/Core/Form.php b/CRM/Core/Form.php
index d4c07cec6e..69e1233d51 100644
--- a/CRM/Core/Form.php
+++ b/CRM/Core/Form.php
@@ -98,6 +98,11 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
    */
   static protected $_template;
 
+  /**
+   *  Indicate if this form should warn users of unsaved changes
+   */
+  protected $unsavedChangesWarn;
+
   /**
    * What to return to the client if in ajax mode (snippet=json)
    *