commit | 8419efd32ca1e04b507d275f66450fb3444ebbdf | [log] [tgz] |
---|---|---|
author | Simon Hunt <simon@onlab.us> | Thu Jan 12 12:36:28 2017 -0800 |
committer | Simon Hunt <simon@onlab.us> | Fri Jan 13 01:24:56 2017 +0000 |
tree | 77f607108a65093f8c033bcc36f812fb131e787d | |
parent | 41675d22f3691a14dca5fc51eacef83ead838957 [diff] [blame] |
ONOS-5726: Route "show-intent" request through a topo-overlay hook. (This is the first of several steps for this Jira ticket). Change-Id: Iad8d0500d68f36de17c681b1072bfaa1e94f0b33
diff --git a/web/gui/src/main/webapp/app/view/topo/topoTrafficNew.js b/web/gui/src/main/webapp/app/view/topo/topoTrafficNew.js index 304b4e6..13a5f2a 100644 --- a/web/gui/src/main/webapp/app/view/topo/topoTrafficNew.js +++ b/web/gui/src/main/webapp/app/view/topo/topoTrafficNew.js
@@ -141,6 +141,12 @@ }, mouseout: function () { tts.requestTrafficForMode(true); + }, + + // intent visualization hook + showintent: function (intentData) { + $log.debug('^^ trafficOverlay.showintent() ^^'); + tts.selectIntent(intentData); } } };