delete button works, server returns 302 over 301 so browser cache is less bad, ui sorts filetree alpha by title
This commit is contained in:
@@ -52,12 +52,14 @@
|
||||
function branchesHTML(id, branches) {
|
||||
if (!branchesHaveContent(branches))
|
||||
return ""
|
||||
var html = []
|
||||
var out = ``
|
||||
for(var i in branches) {
|
||||
out += `<details open>`
|
||||
out += branchHTML(i, branches[i])
|
||||
out += `</details>`
|
||||
html.push([branches[i].Leaf.Title, `<details open>` + branchHTML(i, branches[i]) + `</details>`])
|
||||
}
|
||||
html.sort()
|
||||
for(var i in html)
|
||||
out += html[i][1]
|
||||
return out
|
||||
}
|
||||
function branchesHaveContent(branches) {
|
||||
|
||||
Reference in New Issue
Block a user