Fixed sizing issue of help dialog for Query Tool and ERD Tool when open in the new browser tab. Fixes #6333

This commit is contained in:
Rahul Shirsat
2021-04-06 15:26:25 +05:30
committed by Akshay Joshi
parent c1ba645dce
commit 585ba81492
3 changed files with 13 additions and 2 deletions

View File

@@ -907,7 +907,12 @@ define('pgadmin.browser', [
window.open(fullUrl, 'postgres_help');
} else if(type == 'dialog_help') {
window.open(url, 'pgadmin_help');
if (pgWindow && pgWindow.default) {
pgWindow.default.open(url, 'pgadmin_help');
}
else {
window.open(url, 'pgadmin_help');
}
}
$('#live-search-field').focus();
},