Added tab navigation for tabs under explain panel in query tool. Fixes #5047.

This commit is contained in:
Ganesh Jaybhay
2020-01-01 10:51:45 +05:30
committed by Akshay Joshi
parent 8c4dff057f
commit fc5287bd9f
3 changed files with 10 additions and 3 deletions

View File

@@ -404,6 +404,12 @@ define('tools.querytool', [
self.query_tool_obj.focus();
});
pgBrowser.Events.on('pgadmin:query_tool:explain:focus', ()=>{
setTimeout(function () {
$('.sql-editor-explain .backform-tab .nav-link.active').focus();
}, 200);
});
if (!self.preferences.new_browser_tab) {
// Listen on the panel closed event and notify user to save modifications.
_.each(pgWindow.default.pgAdmin.Browser.docker.findPanels('frm_datagrid'), function(p) {