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);
             }
         }
     };