From eafad194052191ec741356dabf968674892ca132 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 1 Oct 2020 11:41:10 +1000 Subject: [PATCH] [REF] Ensure that the crm-error class on the field is also remove when field is changed Only handle crm-error class --- js/Common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Common.js b/js/Common.js index 881dda124d..8a1ee54a31 100644 --- a/js/Common.js +++ b/js/Common.js @@ -1322,7 +1322,7 @@ if (!CRM.vars) CRM.vars = {}; setTimeout(function () { ele.one('change', function () { if (msg && msg.close) msg.close(); - ele.removeClass('error'); + ele.removeClass('crm-error'); label.removeClass('crm-error'); }); }, 1000); -- 2.25.1