From 461fa5fbdd3b5dee9efa13f633ee9c93c62a09d0 Mon Sep 17 00:00:00 2001 From: mzd <mzd@ginkgostreet.com> Date: Wed, 30 Apr 2014 17:50:31 -0400 Subject: [PATCH] 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 --- CRM/Core/Form.php | 5 +++++ 1 file changed, 5 insertions(+) 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) * -- 2.25.1