er, ups
This commit is contained in:
parent
2766aa3363
commit
3b22dc3d54
|
@ -15,8 +15,9 @@ $(function() {
|
|||
$('#searchForm').submit(function(e) {
|
||||
e.preventDefault();
|
||||
var bbox = map.getExtent().toBBOX();
|
||||
var search_term = $('#search').val();
|
||||
var search_term = $('#searchField').val();
|
||||
$('#searchField').addClass("loading");
|
||||
$('#searchTerm').text(search_term);
|
||||
$('#searchField').attr("disabled", "disabled");
|
||||
$.getJSON("/feature/search.json", {
|
||||
'bbox': bbox,
|
||||
|
@ -32,7 +33,7 @@ $(function() {
|
|||
}
|
||||
|
||||
$('#noOfResults').text(features.results);
|
||||
$('#currPage').text(features.current_page);
|
||||
$('#currPageNo').text(features.current_page);
|
||||
$('#totalPages').text(features.pages);
|
||||
$('#searchField').removeAttr("disabled");
|
||||
$('#searchField').removeClass("loading");
|
||||
|
|
Loading…
Reference in New Issue
Block a user