rewrite of availability-map

This commit is contained in:
crcro
2016-08-12 22:51:29 +03:00
parent c16fedd201
commit 655363082c
5 changed files with 273 additions and 70 deletions

View File

@@ -225,6 +225,17 @@ $(document).on("click", '.collapse-neighbors', function(event)
});
$(document).on("change", '#mode', function() {
$.post('ajax_mapview.php',
{
mapView: $(this).val()
},
function(data) {
location.reload();
},'json'
);
});
$(document).ready(function() {
var lines = 'on';
$("#linenumbers").button().click(function() {
@@ -243,4 +254,4 @@ $(document).ready(function() {
});
}
});
});
});