From 02417c4bd97b87239f2351b4ffed5643d79775cd Mon Sep 17 00:00:00 2001 From: Denny Lim Date: Sun, 1 Jun 2014 01:20:36 +0000 Subject: [PATCH] =?UTF-8?q?[=EC=9E=84=EB=8C=80=ED=98=84]=20#24=20[Help]=20?= =?UTF-8?q?=EB=8F=84=EC=9B=80=EB=A7=90,=20copyright=20=EA=B8=B0=EB=8A=A5?= =?UTF-8?q?=20=EA=B0=9C=EB=B0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-web/trunk@3966 84d0f5b1-2673-498c-a247-62c4ff18d310 --- .../webapp/scripts/directives/serverMap.js | 29 ++++++++----------- src/main/webapp/styles/serverMap.css | 2 +- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/src/main/webapp/scripts/directives/serverMap.js b/src/main/webapp/scripts/directives/serverMap.js index 11a4db11b..848c45d4f 100644 --- a/src/main/webapp/scripts/directives/serverMap.js +++ b/src/main/webapp/scripts/directives/serverMap.js @@ -185,12 +185,11 @@ pinpointApp.directive('serverMap', [ 'serverMapConfig', 'ServerMapDao', 'Alerts' */ setNodeContextMenuPosition = function (top, left) { scope.nodeContextMenuStyle = { - display: 'block' - }; - element.find('.nodeContextMenu').css({ + display: 'block', 'top': top, - 'left': left - }); + 'left': left, + 'z-index': 9999999 // it should be higher than 9999998, because of intro.js + }; scope.$digest(); }; @@ -201,13 +200,11 @@ pinpointApp.directive('serverMap', [ 'serverMapConfig', 'ServerMapDao', 'Alerts' */ setLinkContextMenuPosition = function (top, left) { scope.linkContextMenuStyle = { - display: 'block' - }; - var linkContextMenu = element.find('.linkContextMenu'); - linkContextMenu.css({ + display: 'block', 'top': top, - 'left': left - }); + 'left': left, + 'z-index': 9999999 // it should be higher than 9999998, because of intro.js + }; scope.$digest(); }; @@ -218,13 +215,11 @@ pinpointApp.directive('serverMap', [ 'serverMapConfig', 'ServerMapDao', 'Alerts' */ setBackgroundContextMenuPosition = function (top, left) { scope.backgroundContextMenuStyle = { - display: 'block' - }; - var backgroundContextMenu = element.find('.backgroundContextMenu'); - backgroundContextMenu.css({ + display: 'block', 'top': top, - 'left': left - }); + 'left': left, + 'z-index': 9999999 // it should be higher than 9999998, because of intro.js + }; scope.$digest(); }; diff --git a/src/main/webapp/styles/serverMap.css b/src/main/webapp/styles/serverMap.css index 512eadd1b..cdaf61106 100644 --- a/src/main/webapp/styles/serverMap.css +++ b/src/main/webapp/styles/serverMap.css @@ -3,7 +3,7 @@ position: absolute; top: 8px; left: 11px; - z-index: 9; + z-index: 9999999; /* it should be higher than 9999998, because of intro.js */ font-size: 12px; } .servermap .servermap-status .alert {