mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
rewrite of availability-map
This commit is contained in:
@@ -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() {
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user