ups, table shows up at wrong time :/

This commit is contained in:
Sanj 2011-08-31 19:44:03 +05:30
parent becafc2de7
commit 29b49f4a32

View File

@ -14,9 +14,6 @@ $(function() {
$('#searchForm').submit(function(e) {
if ($('.mapListSection').css("opacity") == '0') {
$('.mapListSection').animate({'opacity': '1'}, 500);
}
e.preventDefault();
var bbox = map.getExtent().toBBOX();
var search_term = $('#searchField').val();
@ -31,7 +28,9 @@ $(function() {
'threshold': 0.5,
'count': 20
}, function(features) {
if ($('.mapListSection').css("opacity") == '0') {
$('.mapListSection').animate({'opacity': '1'}, 1000);
}
if (features.hasOwnProperty("error") && features.error != '') {
alert(features.error);
return;