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
+1 -1
View File
@@ -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();
+1 -1
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();
+1 -1
View File
@@ -120,7 +120,7 @@ function editGroup()
var tr = $(this).closest("tr");
var id = tr.find("td:eq(0)").html();
var name = tr.find("#name").val();
var status = tr.find("#status").val();
var status = tr.find("#status").is(":checked") ? 1 : 0;
var desc = tr.find("#desc").val();
showAlert('info');