#394 (redux) enabled "Management IPs" hides after "Redraw Map"
This commit is contained in:
4
Changes
4
Changes
@@ -4,6 +4,10 @@
|
|||||||
|
|
||||||
* #401 Autodiscovery via EIGRP peers
|
* #401 Autodiscovery via EIGRP peers
|
||||||
|
|
||||||
|
[BUG FIXES]
|
||||||
|
|
||||||
|
* #394 (redux) enabled "Management IPs" hides after "Redraw Map"
|
||||||
|
|
||||||
2.039022 - 2018-04-18
|
2.039022 - 2018-04-18
|
||||||
|
|
||||||
[BUG FIXES]
|
[BUG FIXES]
|
||||||
|
|||||||
@@ -224,7 +224,7 @@ ajax '/ajax/data/device/netmap' => require_login sub {
|
|||||||
ID => $device->ip,
|
ID => $device->ip,
|
||||||
SIZEVALUE => (param('dynamicsize') ? $color_lkp{speed} : 3000),
|
SIZEVALUE => (param('dynamicsize') ? $color_lkp{speed} : 3000),
|
||||||
((exists $color_lkp{$colorby}) ? (COLORVALUE => $color_lkp{$colorby}) : ()),
|
((exists $color_lkp{$colorby}) ? (COLORVALUE => $color_lkp{$colorby}) : ()),
|
||||||
LABEL => $name,
|
LABEL => (param('showips') ? ($device->ip .' '. $name) : $name),
|
||||||
ORIG_LABEL => $name,
|
ORIG_LABEL => $name,
|
||||||
INFOSTRING => make_node_infostring($device),
|
INFOSTRING => make_node_infostring($device),
|
||||||
LINK => uri_for('/device', {
|
LINK => uri_for('/device', {
|
||||||
|
|||||||
@@ -157,9 +157,6 @@ $.getJSON('[% uri_for('/ajax/data/device/netmap') %]?[% my_query %]', function(m
|
|||||||
|
|
||||||
graph.start(mapdata);
|
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
|
// about a second after render starts, zoom in a bit
|
||||||
if ('[% params.mapshow %]' == 'neighbors') {
|
if ('[% params.mapshow %]' == 'neighbors') {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user