From 90b039a55a8f7ada3cc03bb0eb36bb9b21dea7a3 Mon Sep 17 00:00:00 2001
From: Sanj
Date: Mon, 29 Aug 2011 17:44:00 +0530
Subject: [PATCH] minor, syntax
---
gazetteer/static/js/gazetteer.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gazetteer/static/js/gazetteer.js b/gazetteer/static/js/gazetteer.js
index 35ade2f..519e294 100644
--- a/gazetteer/static/js/gazetteer.js
+++ b/gazetteer/static/js/gazetteer.js
@@ -38,7 +38,7 @@ $(function() {
function getRow(props) {
var $tr = $('
');
- var $one = $('
| ').appendTo$($tr);
+ var $one = $(' | ').appendTo($tr);
var $a = $('').attr("target", "_blank").attr("href", "/admin/places/feature/" + props.id).text(props.preferred_name).appendTo($one);
$(' | ').text(props.feature_type).appendTo($tr);
$(' | ').text(props.admin1).appendTo($tr);
@@ -53,9 +53,10 @@ function getLi(props) {
var $a = $('').attr("target", "_blank").attr("href", "/admin/places/feature/" + props.id).text(props.preferred_name).appendTo($li);
return $li;
}
-*/
+
function getHeaderRow() {
var heads = ['Preferred Name', 'Feature Type', 'State', 'County']
var $thead = $('');
}
+*/