diff --git a/public/app/features/dashboard/shareSnapshotCtrl.js b/public/app/features/dashboard/shareSnapshotCtrl.js index 7bd35e98d1d..f9dd78dba43 100644 --- a/public/app/features/dashboard/shareSnapshotCtrl.js +++ b/public/app/features/dashboard/shareSnapshotCtrl.js @@ -41,10 +41,13 @@ function (angular, _) { $scope.createSnapshot = function(external) { $scope.dashboard.snapshot = { - timestamp: new Date(), - originalUrl: $location.absUrl() + timestamp: new Date() }; + if (!external) { + $scope.dashboard.snapshot.originalUrl = $location.absUrl(); + } + $scope.loading = true; $scope.snapshot.external = external;