Additional view for approved comments

linked in "moderate comments" view
This commit is contained in:
Katja Suess
2019-09-07 11:31:53 +02:00
parent ddf0ac0314
commit 1b7d9fcb16
7 changed files with 189 additions and 2 deletions
@@ -165,6 +165,16 @@ require([ // jshint ignore:line
});
});
/**********************************************************************
* Comments approved: Load history for approved date.
**********************************************************************/
$(".last-history-entry").each(function() {
$(this).load($(this).attr("data-href") + " .historyByLine", function() {
$(this).children(".historyByLine").last().remove();
});
});
});
//#JSCOVERAGE_ENDIF