We have to get the group's ID from the hidden field now that we removed/hide the IP column by default.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2019-12-23 15:13:51 +00:00
parent 563aaa14df
commit cce7c928d5

View File

@@ -228,7 +228,7 @@ function addGroup() {
function editGroup() {
var elem = $(this).attr("id");
var tr = $(this).closest("tr");
var id = tr.find("td:eq(0)").text();
var id = tr.find("#id").val();
var name = tr.find("#name").val();
var status = tr.find("#status").is(":checked") ? 1 : 0;
var desc = tr.find("#desc").val();