diff options
author | Kristian Lyngstol <kly@kly@.no> | 2016-03-23 23:51:09 +0100 |
---|---|---|
committer | Kristian Lyngstol <kly@kly@.no> | 2016-03-23 23:51:09 +0100 |
commit | ed7909e8910ba429cdc17650995efaa358ee1b95 (patch) | |
tree | 358d2f98be7776ae86be5f42393bd4f30dd87296 | |
parent | fddc3b396c3d3efe865cd4ad2d501e61682241c4 (diff) | |
parent | c4e559c1eec4e1280faa09df8846fcfaba233333 (diff) |
Merge branch 'master' of github.com:tech-server/tgmanage
-rw-r--r-- | web/nms.gathering.org/js/nms-info-box.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/nms.gathering.org/js/nms-info-box.js b/web/nms.gathering.org/js/nms-info-box.js index 838ebb8..6599f5b 100644 --- a/web/nms.gathering.org/js/nms-info-box.js +++ b/web/nms.gathering.org/js/nms-info-box.js @@ -211,7 +211,8 @@ nmsInfoBox._windowTypes.switchInfo = { getTitle: function() { var sshButton = ''; try { - sshButton = nmsInfoBox._window.swm.mgmt_v4_addr; + var mgmt = nmsInfoBox._window.swm.mgmt_v4_addr; + sshButton = mgmt.split("/")[0]; } catch(e) { console.log(e); } |