More code cleanup for SonarQube.

This commit is contained in:
Akshay Joshi
2020-06-18 16:20:34 +01:00
committed by Dave Page
parent 6d3f13076f
commit bc24e3643f
13 changed files with 73 additions and 87 deletions

View File

@@ -463,12 +463,13 @@ define([
i = item || t.selected(),
d = i && i.length == 1 ? t.itemData(i) : undefined,
node = d && pgBrowser.Nodes[d._type],
self = this,
is_edb_proc = d._type == 'edbproc';
self = this;
if (!d)
return;
var is_edb_proc = d._type == 'edbproc';
var treeInfo = node.getTreeNodeHierarchy.apply(node, [i]),
_url = this.generate_url('init', treeInfo, node);