Fix issue where pgAdmin does not load completely if loaded in an iframe. Fixes #4756

This commit is contained in:
Aditya Toshniwal
2019-09-23 12:55:02 +05:30
committed by Akshay Joshi
parent 82aa2d1819
commit 73dc130908
13 changed files with 83 additions and 68 deletions

View File

@@ -8,6 +8,7 @@
//////////////////////////////////////////////////////////////
import $ from 'jquery';
import pgWindow from 'sources/window';
let queryToolActions = {
_verbose: function () {
@@ -124,7 +125,7 @@ let queryToolActions = {
focusOut: function () {
document.activeElement.blur();
window.top.document.activeElement.blur();
pgWindow.document.activeElement.blur();
},
toggleCaseOfSelectedText: function (sqlEditorController) {