From e1576b71313da8adee90589f55a138405b1a5900 Mon Sep 17 00:00:00 2001 From: ubhatnagar Date: Fri, 18 Sep 2015 00:45:29 -0700 Subject: [PATCH 1/4] Added Manage Dashboard Tooltip, hides when clicked. --- public/app/features/dashboard/dashboardNavCtrl.js | 4 ++++ public/app/features/dashboard/partials/dashboardTopNav.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/public/app/features/dashboard/dashboardNavCtrl.js b/public/app/features/dashboard/dashboardNavCtrl.js index 27ce528f69e..07b22242cf3 100644 --- a/public/app/features/dashboard/dashboardNavCtrl.js +++ b/public/app/features/dashboard/dashboardNavCtrl.js @@ -51,6 +51,10 @@ function (angular, _) { $scope.exitFullscreen(); }; + $scope.removeToolTip = function() { + $('.tooltip').not(this).hide(); + }; + $scope.saveDashboard = function(options) { if ($scope.dashboardMeta.canSave === false) { return; diff --git a/public/app/features/dashboard/partials/dashboardTopNav.html b/public/app/features/dashboard/partials/dashboardTopNav.html index f370ce324f5..98396cd4359 100644 --- a/public/app/features/dashboard/partials/dashboardTopNav.html +++ b/public/app/features/dashboard/partials/dashboardTopNav.html @@ -30,7 +30,7 @@