diff --git a/src/app/controllers/dashboardNavCtrl.js b/src/app/controllers/dashboardNavCtrl.js index 76ef34f8e92..d16139e2e09 100644 --- a/src/app/controllers/dashboardNavCtrl.js +++ b/src/app/controllers/dashboardNavCtrl.js @@ -93,7 +93,7 @@ function (angular, _, moment, config, store) { }; $scope.deleteDashboard = function(evt, options) { - if (!confirm('Are you sure you want to delete dashboard?')) { + if (!confirm('Do you want to delete dashboard ' + options.title + ' ?')) { return; } diff --git a/src/app/controllers/search.js b/src/app/controllers/search.js index 18b860d0ab5..676e39aceb5 100644 --- a/src/app/controllers/search.js +++ b/src/app/controllers/search.js @@ -121,7 +121,7 @@ function (angular, _, config, $) { $scope.deleteDashboard = function(dash, evt) { evt.stopPropagation(); - $scope.emitAppEvent('delete-dashboard', { id: dash.id }); + $scope.emitAppEvent('delete-dashboard', { id: dash.id, title: dash.title }); $scope.results.dashboards = _.without($scope.results.dashboards, dash); };