Commit dc03ca88 by Torkel Ödegaard

Opening search closes fullscreen edit or fullscreen view

parent de51aeab
......@@ -17,6 +17,10 @@ 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 = '';
......
......@@ -16,12 +16,7 @@ function (angular, _, config) {
$scope.inspector = {};
$scope.editPanel = function() {
if ($scope.panelMeta.fullscreen) {
$scope.toggleFullscreen(true);
}
else {
$scope.appEvent('show-dash-editor', { src: 'app/partials/paneleditor.html', scope: $scope });
}
$scope.toggleFullscreen(true);
};
$scope.sharePanel = function() {
......
......@@ -32,7 +32,7 @@
</div>
<button class="gf-box-header-close-btn" ng-click="exitFullscreen();">
<i class="fa fa-remove"></i>
Back to dashboard
</button>
</div>
......
......@@ -27,7 +27,6 @@
</li>
</ul>
<div class="clearfix"></div>
</div>
</div>
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -16,7 +16,9 @@
background-color: transparent;
border: none;
padding: 8px;
font-size: 120%;
i {
font-size: 120%;
}
color: @textColor;
&:hover {
color: @white;
......
......@@ -3,8 +3,9 @@
top: 88px;
}
}
.submenu-controls {
margin: 10px 10px 0 0px;
margin: 10px 10px 0 5px;
font-size: 16px;
}
......
......@@ -89,7 +89,7 @@
padding-left: 18px;
}
&.annotation-segment {
padding: 8px 10px;
padding: 8px 13px;
}
&.last {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment