Skip to content

Commit

Permalink
Fixed i18n field error visibility when it occurs in a different langu…
Browse files Browse the repository at this point in the history
…age (#188)
  • Loading branch information
rerzy committed Dec 11, 2019
1 parent e9d359a commit 32b6b19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/assets/js/include/remote_validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ var RemoteValidator = function( form )

if (target.is(input_selector))
{
var field_box = target.parents('.field').first();
// i18n fields contain a child .field element
var field_box = target.parents('.field:not(.localization)').first();

if (field_box.length !== 1)
{
return;
Expand Down

0 comments on commit 32b6b19

Please sign in to comment.