mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Hide additional bootp options when it's disabled, fixes #5914
This commit is contained in:
parent
0f0c447305
commit
611cc5ca74
@ -1142,8 +1142,13 @@ events.push(function() {
|
||||
hideInput('ldap', true);
|
||||
hideInput('bootfile_url', true);
|
||||
hideCheckbox('shownetboot', true);
|
||||
hideClass('adnloptions', <?php echo json_encode($noopts); ?>);
|
||||
hideInput('addrow', true);
|
||||
if ($('#enable').prop('checked')) {
|
||||
hideClass('adnloptions', <?php echo json_encode($noopts); ?>);
|
||||
hideInput('addrow', <?php echo json_encode($noopts); ?>);
|
||||
} else {
|
||||
hideClass('adnloptions', true);
|
||||
hideInput('addrow', true);
|
||||
}
|
||||
|
||||
});
|
||||
//]]>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user