Skip to content
Snippets Groups Projects
Commit 938694f5 authored by anonymous's avatar anonymous
Browse files

undo restet layout fix

parent 1b4eb70d
Branches
Tags
No related merge requests found
......@@ -178,15 +178,15 @@ this.ckan.module('odsh-spatial-query', function ($, _)
{
if (extentLayer)
{
// $('body').removeClass('dataset-map-expanded');
// is_exanded = false;
// resetMap();
// // Eugh, hacky hack.
$('body').removeClass('dataset-map-expanded');
is_exanded = false;
resetMap();
// Eugh, hacky hack.
setTimeout(function ()
{
// map.fitBounds(extentLayer.getBounds());
map.fitBounds(extentLayer.getBounds());
submitForm();
}, 0);
}, 200);
}
});
......@@ -263,7 +263,7 @@ this.ckan.module('odsh-spatial-query', function ($, _)
setTimeout(function ()
{
form.submit();
}, 0);
}, 800);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment