mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Correctly interpret toogle value.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -157,7 +157,7 @@ function editAdlist()
|
||||
{
|
||||
var tr = $(this).closest("tr");
|
||||
var id = tr.find("#id").val();
|
||||
var status = tr.find("#status").val();
|
||||
var status = tr.find("#status").is(":checked") ? 1 : 0;
|
||||
var comment = tr.find("#comment").val();
|
||||
var groups = tr.find("#multiselect").val();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user