err, oops, thats what you get when you violate DRY.
This commit is contained in:
parent
b83866f10e
commit
01908081b6
|
@ -20,8 +20,7 @@ function copied over from gazetteer.js. TODO:resolve to DRY.
|
|||
function getRow(props) {
|
||||
var $tr = $('<tr />');
|
||||
var $one = $('<td />').appendTo($tr);
|
||||
var $a = $('<a />').attr("target", "_blank").attr("href", "/admin/places/feature/" + props.id).text(props.preferred_name + " ").appendTo($one);
|
||||
var $a2 = $('<a />').addClass("viewSimilar").attr("target", "_blank").attr("href", "/search_related?id=" + props.id).text("view similar").appendTo($one);
|
||||
var $a = $('<a />').attr("target", "_blank").attr("href", "/admin/places/feature/" + props.id).text(props.preferred_name).appendTo($one);
|
||||
$('<td />').text(props.feature_type).appendTo($tr);
|
||||
$('<td />').text(props.admin2).appendTo($tr);
|
||||
$('<td />').text(props.admin1).appendTo($tr);
|
||||
|
|
Loading…
Reference in New Issue
Block a user