minor - clear table when new search is performed
This commit is contained in:
parent
684d5d98e3
commit
42d3873042
|
@ -19,6 +19,7 @@ $(function() {
|
|||
$('#searchField').addClass("loading");
|
||||
$('#searchTerm').text(search_term);
|
||||
$('#searchField').attr("disabled", "disabled");
|
||||
$('#mapList tbody').empty();
|
||||
$.getJSON("/feature/search.json", {
|
||||
'bbox': bbox,
|
||||
'q': search_term,
|
||||
|
@ -37,7 +38,7 @@ $(function() {
|
|||
$('#totalPages').text(features.pages);
|
||||
$('#searchField').removeAttr("disabled");
|
||||
$('#searchField').removeClass("loading");
|
||||
$('#mapList tbody').empty();
|
||||
|
||||
// var headerRow = getHeaderRow();
|
||||
// console.log(response);
|
||||
var currFeatures = jsonLayer.features;
|
||||
|
|
Loading…
Reference in New Issue
Block a user