mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
#1489 - Removing one comment via AJAX removes all comments from display (merged from 2.1.1, r43584)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44206 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
c6684fa6c6
commit
7a564c5154
@ -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...";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user