Files
Heimdall/public
Jay Collett 57fa9f26fb Fix checkbox config values always returning "1"
Checkbox-type config options (e.g. ignore_tls) always tested as "1"
regardless of the checkbox state. The Test-button config gatherer used
$(this).val() for every .config-item, and jQuery .val() on a checkbox
returns its value attribute ("1") regardless of checked state. App
config blades pair a hidden input (0) with a checkbox (1) sharing the
same data-config, and the checkbox is last in DOM order, so it always
overwrote the value with "1". Normal form saves were unaffected.

Use the :checked state for checkboxes so unchecking now tests as "0".

Also rebuilds the committed compiled bundle (public/js/app.js) so the
fix takes effect at runtime; the edit is byte-identical to the Laravel
Mix development build output for this block.

Fixes linuxserver/Heimdall-Apps#782
2026-07-09 21:59:46 +01:00
..
2018-10-18 09:53:13 +01:00
2018-02-01 15:57:16 +00:00
2018-01-26 14:35:01 +00:00
2018-02-09 14:04:18 +00:00
2018-02-09 14:04:18 +00:00
2025-07-10 18:53:55 +00:00
2022-03-11 23:15:55 +00:00
2018-01-26 14:35:01 +00:00