Ensure that output of the query should be displayed even if Data Output window is detached from the Query Tool. Fixes #3697

This commit is contained in:
Akshay Joshi
2019-01-29 18:48:21 +05:30
parent 821496dc84
commit fedbcd4045
2 changed files with 2 additions and 1 deletions

View File

@@ -801,7 +801,7 @@ define('tools.querytool', [
autoEdit: false,
};
var $data_grid = self.$el.find('#datagrid');
var $data_grid = $('#datagrid');
// Calculate height based on panel size at runtime & set it
var grid_height = $($('#editor-panel').find('.wcFrame')[1]).height() - 35;
$data_grid.height(grid_height);