commit | 9dcaea5c7b4cb9515706c5562fb0c9d6497a0e51 | [log] [tgz] |
---|---|---|
author | Bri Prebilic Cole <bri@onlab.us> | Tue Jul 21 14:39:48 2015 -0700 |
committer | Bri Prebilic Cole <bri@onlab.us> | Tue Jul 21 14:39:56 2015 -0700 |
tree | fb2bae51d7f74484d3b3f185f25d166a141ab6fa | |
parent | e11ce5a54fe3a10630e1d11208219ad732d8e644 [diff] [blame] |
ONOS-1865 - GUI -- Keys from Topo View are deregistered once view is navigated away from. Device and App View 'esc' key registration added. Change-Id: I88896266936a4f148007170d67058036fb365fe5
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 1ec18b9..5727a78 100644 --- a/web/gui/src/main/webapp/app/view/topo/topo.js +++ b/web/gui/src/main/webapp/app/view/topo/topo.js
@@ -447,6 +447,7 @@ $scope.$on('$destroy', function () { $log.log('OvTopoCtrl is saying Buh-Bye!'); tes.stop(); + ks.unbindKeys(); tps.destroyPanels(); tis.destroyInst(); tfs.destroyForce();