mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Add context-sensitive SQL help.
This commit is contained in:
@@ -19,7 +19,7 @@ function(_, pgAdmin) {
|
||||
showTitle: true,
|
||||
isClosable: true,
|
||||
isPrivate: false,
|
||||
url: 'about:blank',
|
||||
url: '',
|
||||
panel: null,
|
||||
frame: null,
|
||||
load: function(docker) {
|
||||
@@ -41,7 +41,9 @@ function(_, pgAdmin) {
|
||||
var frame = new wcIFrame($frameArea, myPanel);
|
||||
$(myPanel).data('embeddedFrame', frame);
|
||||
|
||||
setTimeout(function() { frame.openURL(that.url); }, 500);
|
||||
if (that.url != '') {
|
||||
setTimeout(function() { frame.openURL(that.url); }, 500);
|
||||
}
|
||||
|
||||
if (that.events && _.isObject(that.events)) {
|
||||
_.each(that.events, function(v, k) {
|
||||
|
||||
Reference in New Issue
Block a user