Added a fix to the context menu and panel issue introduced by the SonarQube fixes.
parent
b73aa6d000
commit
ec47a2aa66
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue