Move browse-related JS to browse.js

This commit is contained in:
John Firebaugh 2012-10-05 16:13:46 -07:00 committed by Tom Hughes
parent 52daf1dbc4
commit b95f9115d7
2 changed files with 495 additions and 493 deletions

View file

@ -38,13 +38,6 @@ $(document).ready(function () {
handleResize();
$("#show_data").click(function (e) {
$.ajax({ url: $(this).attr('href'), success: function (sidebarHtml) {
startBrowse(sidebarHtml);
}});
e.preventDefault();
});
$("body").on("click", "a.set_position", function () {
var data = $(this).data();
var centre = new OpenLayers.LonLat(data.lon, data.lat);

File diff suppressed because it is too large Load diff