GUI -- TopoView - Added Toggle Port Highlighting enable/disable with 'P' key.
- add/remove mousemove handler.
- removed commented out test code.
Change-Id: Ice47db36491d466d2d73f6cef1dfc90ff9d8b088
diff --git a/web/gui/src/main/webapp/app/view/topo/topo.js b/web/gui/src/main/webapp/app/view/topo/topo.js
index 2aebee8..4463936 100644
--- a/web/gui/src/main/webapp/app/view/topo/topo.js
+++ b/web/gui/src/main/webapp/app/view/topo/topo.js
@@ -49,7 +49,7 @@
H: [tfs.toggleHosts, 'Toggle host visibility'],
M: [tfs.toggleOffline, 'Toggle offline visibility'],
B: [toggleMap, 'Toggle background map'],
- //P: togglePorts,
+ P: [tfs.togglePorts, 'Toggle Port Highlighting'],
//X: [toggleNodeLock, 'Lock / unlock node positions'],
Z: [tos.toggleOblique, 'Toggle oblique view (Experimental)'],
@@ -69,7 +69,7 @@
esc: handleEscape,
_helpFormat: [
- ['O', 'I', 'D', '-', 'H', 'M', 'B', 'P' ],
+ ['O', 'I', 'D', '-', 'H', 'M', 'P', 'B' ],
['X', 'Z', 'L', 'U', 'R' ],
['V', 'rightArrow', 'leftArrow', 'W', 'A', 'F', '-', 'E' ]
]