#394 enabled "Management IPs" hides after "Redraw Map"
This commit is contained in:
@@ -157,6 +157,9 @@ $.getJSON('[% uri_for('/ajax/data/device/netmap') %]?[% my_query %]', function(m
|
||||
|
||||
graph.start(mapdata);
|
||||
|
||||
// trigger update of router labels (to reflect sidebar setting)
|
||||
$('#nd_showips').trigger('change');
|
||||
|
||||
// about a second after render starts, zoom in a bit
|
||||
if ('[% params.mapshow %]' == 'neighbors') {
|
||||
setTimeout(function() {
|
||||
@@ -262,6 +265,10 @@ $(document).on('webkitfullscreenchange mozfullscreenchange fullscreenchange', fu
|
||||
});
|
||||
});
|
||||
|
||||
// **************************************************
|
||||
// ************ react to sidebar in/out *************
|
||||
// **************************************************
|
||||
|
||||
// custom resize function as there is no event to fire and we need
|
||||
// to react to the sidebar.
|
||||
function resizeGraphContainer() {
|
||||
|
||||
Reference in New Issue
Block a user