set the href for edit links in the directory list
This commit is contained in:
parent
584e27139e
commit
541e448100
@ -91,6 +91,9 @@ async function refresh_list() {
|
||||
delete_button.disabled = !editable;
|
||||
delete_button.onclick = del;
|
||||
|
||||
let edit_url = new URL("/edit/#" + f.name, url_base);
|
||||
let edit_link = clone.querySelector(".edit_link");
|
||||
edit_link.href = edit_url
|
||||
|
||||
new_children.push(clone);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user