Commit 01b6ba90 by tasawernawaz Committed by Tasawer Nawaz

fix course revision history duplication error

parent 5f57c133
......@@ -40,7 +40,7 @@ function showDiff($object, $historyObject, $outputDiv) {
function showDiffCourseDetails(currentObject, historyObject, $outputDiv) {
var d = dmp.diff_main(currentObject, historyObject);
dmp.diff_cleanupEfficiency(d);
$outputDiv.append(decodeEntities(dmp.diff_prettyHtml(d)));
$outputDiv.html(decodeEntities(dmp.diff_prettyHtml(d)));
$outputDiv.show();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment