public inbox for [email protected]
help / color / mirror / Atom feedFrom: Nikhil Mohite <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin][RM-6876]: Dashboard does not get update after connecting to server.
Date: Wed, 13 Oct 2021 17:34:16 +0530
Message-ID: <CAOBg0ANco1A265voTg-Go_cWHgqdB36_sbdWdh30ShHj+JiikQ@mail.gmail.com> (raw)
Hi Hackers,
Please find the attached patch for
<https://redmine.postgresql.org/issues/6672>RM-6876:
<https://redmine.postgresql.org/issues/6876; Dashboard does not get update
after connecting to server.
--
*Thanks & Regards,*
*Nikhil Mohite*
*Software Engineer.*
*EDB Postgres* <https://www.enterprisedb.com/;
*Mob.No: +91-7798364578.*
Attachments:
[application/octet-stream] RM-6876.patch (691B, 3-RM-6876.patch)
download | inline diff:
diff --git a/web/pgadmin/browser/server_groups/servers/static/js/server.js b/web/pgadmin/browser/server_groups/servers/static/js/server.js
index ac7649ab..afb850d4 100644
--- a/web/pgadmin/browser/server_groups/servers/static/js/server.js
+++ b/web/pgadmin/browser/server_groups/servers/static/js/server.js
@@ -921,6 +921,8 @@ define('pgadmin.node.server', [
'pgadmin:database:connected', _data._id, _data.db, _item, _data
);
+ // Load dashboard
+ pgBrowser.Events.trigger('pgadmin-browser:tree:selected', _item, _data, node);
// We're not reconnecting
if (!_wasConnected) {
_tree.setInode(_item);
view thread (2+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: [pgAdmin][RM-6876]: Dashboard does not get update after connecting to server.
In-Reply-To: <CAOBg0ANco1A265voTg-Go_cWHgqdB36_sbdWdh30ShHj+JiikQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox