clear comment that still has references
This commit is contained in:
parent
413fb0c9a6
commit
bebda530b6
@ -83,7 +83,9 @@ define(["lib/q", "lib/HTML", "helper/utils", "./api", "./forms", "./logging"], f
|
|||||||
if (rv) {
|
if (rv) {
|
||||||
node.remove();
|
node.remove();
|
||||||
} else {
|
} else {
|
||||||
// XXX recursively remove deleted comments
|
node.classList.add('deleted');
|
||||||
|
node.header.add("span.note").textContent = "Kommentar gelöscht.";
|
||||||
|
HTML.query("#isso-" + comment.id + " > div.text").innerHTML = "<p> </p>"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user