diff options
author | Nicolai Tellefsen <niccofyren@gmail.com> | 2016-03-25 01:32:13 +0100 |
---|---|---|
committer | Nicolai Tellefsen <niccofyren@gmail.com> | 2016-03-25 01:32:13 +0100 |
commit | 1daa378e1eeb92c3e838f80de929707ba8ed7c63 (patch) | |
tree | 4936595a15460dd537ba46cc2c106567deca2ee8 /web/nms.gathering.org/js/nms-info-box.js | |
parent | 60af50c7b3bb7a818e1e25641fae6d0069759665 (diff) | |
parent | 7ac4551ed94c1f1393bc69e595a90dbe15bc8f6c (diff) |
Merge branch 'master' of ssh://github.com/tech-server/tgmanage
Diffstat (limited to 'web/nms.gathering.org/js/nms-info-box.js')
-rw-r--r-- | web/nms.gathering.org/js/nms-info-box.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/web/nms.gathering.org/js/nms-info-box.js b/web/nms.gathering.org/js/nms-info-box.js index 6609664..a718f78 100644 --- a/web/nms.gathering.org/js/nms-info-box.js +++ b/web/nms.gathering.org/js/nms-info-box.js @@ -574,9 +574,11 @@ nmsInfoBox._makeCommentTable = function(content) { nmsInfoBox._searchSmart = function(id, sw) { try { - if (nmsData.switches.switches[sw].distro_name.toLowerCase() == id) { - return true; - } + try { + if (nmsData.switches.switches[sw].distro_name.toLowerCase() == id) { + return true; + } + } catch (e) {} if (id.match("active")) { var limit = id; limit = limit.replace("active>",""); |