commit | 202034ff83da4d8ce3339a492feae9e5e4510271 | [log] [tgz] |
---|---|---|
author | Steven Burrows <sburrows@villa-technologies.com> | Fri Aug 11 12:08:01 2017 +0100 |
committer | Simon Hunt <simon@opennetworking.org> | Fri Aug 11 16:49:41 2017 +0000 |
tree | 7488038a0f2c1069b8a2fc40c185dc847f1ac4e3 | |
parent | 879ce45bf320a6cb894a84b5aea80e0621f1ce50 [diff] [blame] |
GUI: Added {view}-spec.js files for all main views Change-Id: I75a50ae2689d0ab7863c8bb0546ec72ef8e9e7ea
diff --git a/web/gui/src/main/webapp/app/view/topo2/topo2KeyCommands.js b/web/gui/src/main/webapp/app/view/topo2/topo2KeyCommands.js index bce5efb..a3b75f5 100644 --- a/web/gui/src/main/webapp/app/view/topo2/topo2KeyCommands.js +++ b/web/gui/src/main/webapp/app/view/topo2/topo2KeyCommands.js
@@ -56,7 +56,7 @@ if (add) { _.each(add, function (value, key) { // filter out meta properties (e.g. _keyOrder) - if (!(key.startsWith('_'))) { + if (!(_.startsWith(key, '_'))) { // don't allow re-definition of existing key bindings if (am[key]) { $log.warn('keybind: ' + key + ' already exists');