From 00c89b83540b8cacab9bee85e90aa34e657a7d3f Mon Sep 17 00:00:00 2001 From: ubhatnagar Date: Mon, 21 Sep 2015 08:09:34 +0530 Subject: [PATCH] Removed .jshintrc statement, implemented manage dashboard tooltip. --- .jshintrc | 3 +-- public/app/features/dashboard/dashboardNavCtrl.js | 2 +- public/app/features/dashboard/partials/dashboardTopNav.html | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.jshintrc b/.jshintrc index 7f4a90e2381..16904c42413 100644 --- a/.jshintrc +++ b/.jshintrc @@ -30,7 +30,6 @@ "define": true, "require": true, "Chromath": false, - "setImmediate": true, - "$": false + "setImmediate": true } } diff --git a/public/app/features/dashboard/dashboardNavCtrl.js b/public/app/features/dashboard/dashboardNavCtrl.js index e6a325c512c..7aeb095eff7 100644 --- a/public/app/features/dashboard/dashboardNavCtrl.js +++ b/public/app/features/dashboard/dashboardNavCtrl.js @@ -52,7 +52,7 @@ function (angular, _) { }; $scope.manageButtonClickAction = function() { - $('.tooltip').not(this).hide(); + angular.element('#manageDashboardButton').tooltip('hide'); $scope.appEvent('hide-dash-search'); }; diff --git a/public/app/features/dashboard/partials/dashboardTopNav.html b/public/app/features/dashboard/partials/dashboardTopNav.html index e99191b0054..42f39b0ab1b 100644 --- a/public/app/features/dashboard/partials/dashboardTopNav.html +++ b/public/app/features/dashboard/partials/dashboardTopNav.html @@ -30,7 +30,7 @@