diff --git a/web/pgadmin/browser/static/js/frame.js b/web/pgadmin/browser/static/js/frame.js index 39b1d6512..73e952eee 100644 --- a/web/pgadmin/browser/static/js/frame.js +++ b/web/pgadmin/browser/static/js/frame.js @@ -49,7 +49,7 @@ define([ $(myPanel).data('pgAdminName', that.name); myPanel.initSize(that.width, that.height); - if (!myPanel.showTitle) + if (!(myPanel.showTitle??true)) myPanel.title(false); myPanel.icon(that.icon); diff --git a/web/pgadmin/browser/static/js/node.js b/web/pgadmin/browser/static/js/node.js index 854432fae..9b6635b92 100644 --- a/web/pgadmin/browser/static/js/node.js +++ b/web/pgadmin/browser/static/js/node.js @@ -64,7 +64,7 @@ define('pgadmin.browser.node', [ child.callbacks = _.extend({}, parent.callbacks, props.callbacks); // Let's not bind the callbacks, or initialize the child. - if (!initialize) + if (!(initialize??true)) return child; var bindToChild = function(cb) {