diff options
author | Steffen Ritter | 2020-01-20 14:43:43 +0100 |
---|---|---|
committer | Steffen Ritter | 2020-01-20 14:43:43 +0100 |
commit | 0e59dee77276911a0cee5e3e28efc0f709f48c61 (patch) | |
tree | 7272d5811aa0b295886b022c23e6a2c23f6eaaea /modules-available/serversetup-bwlp-ipxe | |
parent | Add pack.sh to prepare release (diff) | |
download | slx-admin-0e59dee77276911a0cee5e3e28efc0f709f48c61.tar.gz slx-admin-0e59dee77276911a0cee5e3e28efc0f709f48c61.tar.xz slx-admin-0e59dee77276911a0cee5e3e28efc0f709f48c61.zip |
[serversetup-bwlp-ipxe] Fast fix for required fields
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe')
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/templates/ipxe-new-boot-entry.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/templates/ipxe-new-boot-entry.html b/modules-available/serversetup-bwlp-ipxe/templates/ipxe-new-boot-entry.html index bcda6bae..dd647edd 100644 --- a/modules-available/serversetup-bwlp-ipxe/templates/ipxe-new-boot-entry.html +++ b/modules-available/serversetup-bwlp-ipxe/templates/ipxe-new-boot-entry.html @@ -235,7 +235,6 @@ document.addEventListener('DOMContentLoaded', function () { $('#script-ta').prop('required', false); } }); - $('.type-radio[checked]').click(); var $as = $('#arch-selector'); $as.change(function() { $('[id^=input-ex-]').prop('required', false); @@ -255,6 +254,7 @@ document.addEventListener('DOMContentLoaded', function () { col.find('[id^=input-ex-]').prop('required',true); } }).change(); + $('.type-radio[checked]').click(); var colorize = function() { var $t = $(this); $t.css('color', ($t.data('hex') && !$t.val().match(/^[a-f0-9]*$/i)) ? 'red' : ''); |