From bebda530b6e17087df967e974509c94295ef3c0e Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Mon, 9 Sep 2013 13:24:47 +0200 Subject: [PATCH] clear comment that still has references --- isso/client/app/isso.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/isso/client/app/isso.js b/isso/client/app/isso.js index f47f70f..878588c 100644 --- a/isso/client/app/isso.js +++ b/isso/client/app/isso.js @@ -83,7 +83,9 @@ define(["lib/q", "lib/HTML", "helper/utils", "./api", "./forms", "./logging"], f if (rv) { node.remove(); } 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 = "

 

" } }) } else {