#1489 - Removing one comment via AJAX removes all comments from display

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1.1@43582 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-10-18 04:31:25 +00:00 committed by Sam Minnee
parent 02959c9cda
commit 3cd4ae73bc
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ PageCommentInterface.prototype = {
* Ajax handler of moderation removal
*/
deleteComment: function() {
var __comment = this.parentNode.parentNode.parentNode.parentNode;
var __comment = this.parentNode.parentNode.parentNode;
__comment.getElementsByTagName('span')[0].innerHTML = "Removing...";