mirror of
https://github.com/pi-hole/web.git
synced 2026-04-26 03:40:09 +01:00
Ensure type is transmitted when editing lists
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -534,7 +534,8 @@ function addAdlist(event) {
|
||||
});
|
||||
}
|
||||
|
||||
function editAdlist() {
|
||||
function editAdlist(event) {
|
||||
const type = event.data.type;
|
||||
const elem = $(this).attr("id");
|
||||
const tr = $(this).closest("tr");
|
||||
const address = tr.attr("data-id");
|
||||
@@ -584,6 +585,7 @@ function editAdlist() {
|
||||
groups: groups,
|
||||
comment: comment,
|
||||
enabled: enabled,
|
||||
type: type,
|
||||
}),
|
||||
success: function () {
|
||||
utils.enableAll();
|
||||
|
||||
Reference in New Issue
Block a user