argh! nbsp..

This commit is contained in:
Sanj 2011-08-29 18:47:16 +05:30
parent 441c7bd629
commit 4addbcf705

View File

@ -39,7 +39,7 @@ $(function() {
function getRow(props) { function getRow(props) {
var $tr = $('<tr />'); var $tr = $('<tr />');
var $one = $('<td />').appendTo($tr); var $one = $('<td />').appendTo($tr);
var $a = $('<a />').attr("target", "_blank").attr("href", "/admin/places/feature/" + props.id).text(props.preferred_name + "&nbsp;&nbsp;&nbsp;").appendTo($one); var $a = $('<a />').attr("target", "_blank").attr("href", "/admin/places/feature/" + props.id).text(props.preferred_name + " ").appendTo($one);
var $a2 = $('<a />').attr("target", "_blank").attr("href", "/search_related?id=" + props.id).text("view similar").appendTo($one); var $a2 = $('<a />').attr("target", "_blank").attr("href", "/search_related?id=" + props.id).text("view similar").appendTo($one);
$('<td />').text(props.feature_type).appendTo($tr); $('<td />').text(props.feature_type).appendTo($tr);
$('<td />').text(props.admin2).appendTo($tr); $('<td />').text(props.admin2).appendTo($tr);