From: Coleman Watts Date: Sat, 6 Sep 2014 18:46:52 +0000 (-0400) Subject: Prevent profile preview triggering validation errors X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8947862b43b906f41d90054ec0c239ff3b78cbb3;p=civicrm-core.git Prevent profile preview triggering validation errors --- diff --git a/templates/CRM/common/localization.js.tpl b/templates/CRM/common/localization.js.tpl index 75f0dbe3a8..f2b3652bc1 100644 --- a/templates/CRM/common/localization.js.tpl +++ b/templates/CRM/common/localization.js.tpl @@ -73,7 +73,9 @@ var params = { errorClass: 'crm-inline-error', - messages: {} + messages: {}, + // TODO: remove after resolution of https://github.com/jzaefferer/jquery-validation/pull/1261 + ignore: ":hidden, [readonly]" }; // use civicrm notifications when there are errors