Don't append new objects to the wrong parent, if the correct one isn't loaded. Fixes #1838
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=b9571df4de14a72b2b102147c8981b6a77b20daa
Author: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
Modified Files
--------------
web/pgadmin/browser/templates/browser/js/browser.js | 18 +++++++++++++++---
web/pgadmin/browser/templates/browser/js/node.js | 13 ++++++++++---
2 files changed, 25 insertions(+), 6 deletions(-)