mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 20:55:28 +00:00
Correctly interpret toogle value.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -168,7 +168,7 @@ function editDomain()
|
||||
var tr = $(this).closest("tr");
|
||||
var id = tr.find("#id").val();
|
||||
var type = tr.find("#type").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