Skip to content

Commit

Permalink
Merge pull request civicrm#18649 from seamuslee001/error_class_remove
Browse files Browse the repository at this point in the history
Ensure that the crm-error class on the field is also remove when field is changed
  • Loading branch information
eileenmcnaughton authored Oct 5, 2020
2 parents 7aa584c + eafad19 commit 19c712d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/Common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 19c712d

Please sign in to comment.