Correctly interpret toogle value.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2019-12-13 17:23:10 +00:00
parent a83c9c9828
commit 9950ca50fe
3 changed files with 3 additions and 3 deletions

View File

@@ -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();