History-View: Clear list of files on showDiff

This clears the list of files before redrawing the showDiff method.

Fixes Lighthouse ticket #263

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
This commit is contained in:
Johannes Gilger
2010-09-12 17:10:47 +02:00
committed by Nathan Kinsinger
parent 2852ecbf01
commit f2cf438179
+2
View File
@@ -219,6 +219,8 @@ var loadCommit = function(commitObject, currentRef) {
var showDiff = function() {
$("files").innerHTML = "";
// Callback for the diff highlighter. Used to generate a filelist
var newfile = function(name1, name2, id, mode_change, old_mode, new_mode) {
var img = document.createElement("img");