diff options
author | Magnus Kirø <magnuskiro@gmail.com> | 2016-03-21 16:26:54 +0100 |
---|---|---|
committer | Magnus Kirø <magnuskiro@gmail.com> | 2016-03-21 16:26:54 +0100 |
commit | f6cdb328d98bfa5e66e0e4c4f1135e94889582e4 (patch) | |
tree | 42bb7cda101e97c90d910e170c13d7f52fa9653f /web/nms.gathering.org/js/nms-info-box.js | |
parent | 90632b710fa8798c0eeda1bb10ff25b328634e33 (diff) | |
parent | be1d1a2ad44bc30993cfda339552b924f5018d72 (diff) |
Merge branch 'master' of github.com:tech-server/tgmanage into dev
Diffstat (limited to 'web/nms.gathering.org/js/nms-info-box.js')
-rw-r--r-- | web/nms.gathering.org/js/nms-info-box.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/nms.gathering.org/js/nms-info-box.js b/web/nms.gathering.org/js/nms-info-box.js index e93ab55..e0f9273 100644 --- a/web/nms.gathering.org/js/nms-info-box.js +++ b/web/nms.gathering.org/js/nms-info-box.js @@ -22,6 +22,10 @@ var nmsInfoBox = nmsInfoBox || { * Shows a window from the _windowTypes list */ nmsInfoBox.showWindow = function (windowName,argument) { + if(windowName == "switchInfo" && argument != '' && argument == this._window.sw) { + nmsInfoBox.hide(); + return; + } nmsInfoBox.hide(); for(var win in this._windowTypes) { if(windowName == win) { |