add link to history html page

This commit is contained in:
Christopher Schmidt 2008-04-22 13:59:00 +00:00
parent 670d15e4c9
commit dffe87909d

View file

@ -322,6 +322,10 @@ page << <<EOJ
history.appendChild(item);
}
div.appendChild(history);
var link = document.createElement("a");
link.appendChild(document.createTextNode("History"));
link.href = "/browse/"+this.type+"/"+this.feature.osm_id+"/history";
div.appendChild(link);
$("object").appendChild(div);
}