From 8947862b43b906f41d90054ec0c239ff3b78cbb3 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 6 Sep 2014 14:46:52 -0400 Subject: [PATCH] Prevent profile preview triggering validation errors --- templates/CRM/common/localization.js.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.25.1