mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge pull request #896 from torque-foxes/pulls/4.5/hide-fields
FIX Ensure initial visibility on fields is respected on hidden form steps
This commit is contained in:
commit
ae9099f72f
@ -782,7 +782,9 @@ JS
|
|||||||
{$holder}.{$rule['opposite']}.trigger('{$rule['holder_event_opposite']}');
|
{$holder}.{$rule['opposite']}.trigger('{$rule['holder_event_opposite']}');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
if (!$("{$target}").hasClass('form-step')) {
|
||||||
$("{$target}").find('.hide').removeClass('hide');
|
$("{$target}").find('.hide').removeClass('hide');
|
||||||
|
}
|
||||||
EOS;
|
EOS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user