ups, table shows up at wrong time :/
This commit is contained in:
parent
becafc2de7
commit
29b49f4a32
|
@ -14,9 +14,6 @@ $(function() {
|
||||||
|
|
||||||
|
|
||||||
$('#searchForm').submit(function(e) {
|
$('#searchForm').submit(function(e) {
|
||||||
if ($('.mapListSection').css("opacity") == '0') {
|
|
||||||
$('.mapListSection').animate({'opacity': '1'}, 500);
|
|
||||||
}
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var bbox = map.getExtent().toBBOX();
|
var bbox = map.getExtent().toBBOX();
|
||||||
var search_term = $('#searchField').val();
|
var search_term = $('#searchField').val();
|
||||||
|
@ -31,7 +28,9 @@ $(function() {
|
||||||
'threshold': 0.5,
|
'threshold': 0.5,
|
||||||
'count': 20
|
'count': 20
|
||||||
}, function(features) {
|
}, function(features) {
|
||||||
|
if ($('.mapListSection').css("opacity") == '0') {
|
||||||
|
$('.mapListSection').animate({'opacity': '1'}, 1000);
|
||||||
|
}
|
||||||
if (features.hasOwnProperty("error") && features.error != '') {
|
if (features.hasOwnProperty("error") && features.error != '') {
|
||||||
alert(features.error);
|
alert(features.error);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user