minor, syntax
This commit is contained in:
parent
fd141fbf82
commit
90b039a55a
|
@ -38,7 +38,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).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.feature_type).appendTo($tr);
|
||||||
$('<td />').text(props.admin1).appendTo($tr);
|
$('<td />').text(props.admin1).appendTo($tr);
|
||||||
|
@ -53,9 +53,10 @@ function getLi(props) {
|
||||||
var $a = $('<a />').attr("target", "_blank").attr("href", "/admin/places/feature/" + props.id).text(props.preferred_name).appendTo($li);
|
var $a = $('<a />').attr("target", "_blank").attr("href", "/admin/places/feature/" + props.id).text(props.preferred_name).appendTo($li);
|
||||||
return $li;
|
return $li;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
function getHeaderRow() {
|
function getHeaderRow() {
|
||||||
var heads = ['Preferred Name', 'Feature Type', 'State', 'County']
|
var heads = ['Preferred Name', 'Feature Type', 'State', 'County']
|
||||||
var $thead = $('<thead />');
|
var $thead = $('<thead />');
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user