Opening search closes fullscreen edit or fullscreen view

This commit is contained in:
Torkel Ödegaard
2015-03-30 12:25:17 +02:00
parent de51aeab7b
commit dc03ca8879
11 changed files with 16 additions and 15 deletions
+4
View File
@@ -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 = '';
+1 -6
View File
@@ -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>
-1
View File
@@ -27,7 +27,6 @@
</li>
</ul>
<div class="clearfix"></div>
</div>
</div>
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+3 -1
View File
@@ -16,7 +16,9 @@
background-color: transparent;
border: none;
padding: 8px;
font-size: 120%;
i {
font-size: 120%;
}
color: @textColor;
&:hover {
color: @white;
+2 -1
View File
@@ -3,8 +3,9 @@
top: 88px;
}
}
.submenu-controls {
margin: 10px 10px 0 0px;
margin: 10px 10px 0 5px;
font-size: 16px;
}
+1 -1
View File
@@ -89,7 +89,7 @@
padding-left: 18px;
}
&.annotation-segment {
padding: 8px 10px;
padding: 8px 13px;
}
&.last {