FIX Ensure initial visibility on fields is respected on hidden form steps

This commit is contained in:
Scott Hutchinson 2019-06-27 13:25:40 +12:00
parent 47340308c0
commit c66566aa81
1 changed files with 3 additions and 1 deletions

View File

@ -782,7 +782,9 @@ JS
{$holder}.{$rule['opposite']}.trigger('{$rule['holder_event_opposite']}');
}
});
$("{$target}").find('.hide').removeClass('hide');
if (!$("{$target}").hasClass('form-step')) {
$("{$target}").find('.hide').removeClass('hide');
}
EOS;
}