CRM-14353 - create boolean for config-by-form of warning to user of unsaved changes
authormzd <mzd@ginkgostreet.com>
Wed, 30 Apr 2014 21:50:31 +0000 (17:50 -0400)
committermzd <mzd@ginkgostreet.com>
Thu, 1 May 2014 18:59:12 +0000 (14:59 -0400)
----------------------------------------
* CRM-14353: Fix formNavigate to work with multiple forms & ajax
  https://issues.civicrm.org/jira/browse/CRM-14353

CRM/Core/Form.php

index d4c07cec6e65ea85d8466a59dd367e8815ced3bb..69e1233d5164dfd787ece9d6368c8034287917fa 100644 (file)
@@ -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)
    *