Committed by
Gerrit Code Review
ONOS-1678 - TopoView - empty detail panel when navigating away and back. FIXED.
Change-Id: If2df3abb78838cbd666353474ff276e0d1fb4610
Showing
1 changed file
with
4 additions
and
1 deletions
... | @@ -303,7 +303,10 @@ | ... | @@ -303,7 +303,10 @@ |
303 | flash.enable(false); | 303 | flash.enable(false); |
304 | toggleInstances(prefsState.insts); | 304 | toggleInstances(prefsState.insts); |
305 | toggleSummary(prefsState.summary); | 305 | toggleSummary(prefsState.summary); |
306 | - toggleDetails(prefsState.detail); | 306 | + // NOTE: the detail flag means "use data if you have it"; it does not |
307 | + // mean the panel is on-screen. So, assume that it always starts | ||
308 | + // off-screen since nothing is selected initially... | ||
309 | + toggleDetails(false); | ||
307 | toggleSprites(prefsState.spr); | 310 | toggleSprites(prefsState.spr); |
308 | flash.enable(true); | 311 | flash.enable(true); |
309 | } | 312 | } | ... | ... |
-
Please register or login to post a comment