change(search): opening search dropdown should not take you out of fullscreen view or edit

This commit is contained in:
Torkel Ödegaard 2015-08-15 21:57:41 +02:00
parent 16fa5c4df3
commit ad1fa110ff

View File

@ -17,10 +17,6 @@ function (angular, _, config) {
$scope.query = { query: '', tag: [], starred: false };
$scope.currentSearchId = 0;
if ($scope.dashboardViewState.fullscreen) {
$scope.exitFullscreen();
}
$timeout(function() {
$scope.giveSearchFocus = $scope.giveSearchFocus + 1;
$scope.query.query = '';