diff --git a/Changes b/Changes index efbb7e27..c8cb1f51 100644 --- a/Changes +++ b/Changes @@ -5,6 +5,7 @@ * #392 fix heuristic neighbour detection * #393 avoid 'modification of readonly variable' error in netmap * #398 user submitted jobs are run regardless of max deferrals + * #394 enabled "Management IPs" hides after "Redraw Map" * clean up check_mac() interface (ml-cms) 2.039021 - 2018-04-10 diff --git a/share/views/ajax/device/netmap.tt b/share/views/ajax/device/netmap.tt index 10e0d7e8..1551acb5 100644 --- a/share/views/ajax/device/netmap.tt +++ b/share/views/ajax/device/netmap.tt @@ -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() {