Commit 71edd9ff by Torkel Ödegaard

DashEditView: fix for small ui bug, when having dashboard settings view open and…

DashEditView: fix for small ui bug, when having dashboard settings view open and entering panel edit mode, did not cause dash edit view to be closed
parent 34539c0c
......@@ -125,6 +125,8 @@ function (angular, _, $) {
};
DashboardViewState.prototype.enterFullscreen = function(panelScope) {
this.$scope.appEvent('hide-dash-editor');
var docHeight = $(window).height();
var editHeight = Math.floor(docHeight * 0.3);
var fullscreenHeight = Math.floor(docHeight * 0.7);
......
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