aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly@.no>2016-03-21 15:04:41 +0100
committerKristian Lyngstol <kly@kly@.no>2016-03-21 15:04:41 +0100
commitbe1d1a2ad44bc30993cfda339552b924f5018d72 (patch)
treeedf3c088e9a7659ccc031e3c89ff8acf196181a1
parent0eb9e5b5e2c6f6ac34bc5119f0e4011e0dbf79e6 (diff)
parentef33fa8684db365888d091a15ef20b330dd29529 (diff)
Merge branch 'master' of github.com:tech-server/tgmanage
-rw-r--r--web/nms.gathering.org/js/nms-info-box.js4
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 dc993a9..5f16ec2 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) {