Move browse-related JS to browse.js
This commit is contained in:
parent
52daf1dbc4
commit
b95f9115d7
2 changed files with 495 additions and 493 deletions
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue