clear comment that still has references

This commit is contained in:
Martin Zimmermann 2013-09-09 13:24:47 +02:00
parent 413fb0c9a6
commit bebda530b6

View File

@ -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>&nbsp;</p>"
} }
}) })
} else { } else {