mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user