When any of the docked tab(statistics, dependents & dependencies)
are clicked without selecting any tree node. it gives error in browser
console panel.
Because the node passed is undefined. and check is missing. This is now
fixed by adding check for node passed.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=a871b15fe992a39ada76d6e3495892ed3bee1dee
Author: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
Modified Files
--------------
web/pgadmin/misc/depends/static/js/depends.js | 6 ++++++
web/pgadmin/misc/statistics/static/js/statistics.js | 3 +++
2 files changed, 9 insertions(+)