From 1d4e7e2642f56b6cf363ed17187df5c1f03c598f Mon Sep 17 00:00:00 2001 From: Nikhil Mohite Date: Mon, 19 Dec 2022 10:50:12 +0530 Subject: [PATCH] Fixed an issue updating the schema node de-select the node in the tree if only one schema is present in the collection node. #5542 --- web/pgadmin/browser/static/js/browser.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/pgadmin/browser/static/js/browser.js b/web/pgadmin/browser/static/js/browser.js index 4551893f2..9e736784d 100644 --- a/web/pgadmin/browser/static/js/browser.js +++ b/web/pgadmin/browser/static/js/browser.js @@ -1699,6 +1699,8 @@ define('pgadmin.browser', [ // If the current node's inode is false if (__ctx.i && !__ctx.t.isInode(__ctx.i)) { __ctx.t.setInode(__ctx.i, {success: _appendNode}); + // Open the collection node. + pgBrowser.tree.open(__ctx.i); } else { // Handle case for node without parent i.e. server-group // or if parent node's inode is true.