public inbox for [email protected]
help / color / mirror / Atom feed[pgAdmin][RM-6964]: After removing database from properties tab, its properties is also displayed
2+ messages / 2 participants
[nested] [flat]
* [pgAdmin][RM-6964]: After removing database from properties tab, its properties is also displayed
@ 2021-11-18 05:12 Nikhil Mohite <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Nikhil Mohite @ 2021-11-18 05:12 UTC (permalink / raw)
To: pgadmin-hackers
Hi Team,
Please find the attached patch for RM-6964:
<https://redmine.postgresql.org/issues/6964>After removing the database
from the properties tab, its properties are also displayed.
--
*Thanks & Regards,*
*Nikhil Mohite*
*Senior Software Engineer.*
*EDB Postgres* <https://www.enterprisedb.com/;
*Mob.No: +91-7798364578.*
Attachments:
[application/octet-stream] RM-6964.patch (806B, 3-RM-6964.patch)
download | inline diff:
diff --git a/web/pgadmin/browser/static/js/collection.js b/web/pgadmin/browser/static/js/collection.js
index 4ee9659e..4445892a 100644
--- a/web/pgadmin/browser/static/js/collection.js
+++ b/web/pgadmin/browser/static/js/collection.js
@@ -431,7 +431,10 @@ define([
pgBrowser.Events.trigger(
'pgadmin:browser:tree:refresh', sel_item || pgBrowser.tree.selected(), {
success: function() {
- sel_node.callbacks.selected.apply(sel_node, [sel_item]);
+ setTimeout(function() {
+ pgBrowser.tree.select(sel_item);
+ sel_node.callbacks.selected.apply(sel_node, [sel_item]);
+ }, 100);
},
});
}
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [pgAdmin][RM-6964]: After removing database from properties tab, its properties is also displayed
@ 2021-11-18 07:07 Akshay Joshi <[email protected]>
parent: Nikhil Mohite <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Akshay Joshi @ 2021-11-18 07:07 UTC (permalink / raw)
To: Nikhil Mohite <[email protected]>; +Cc: pgadmin-hackers
Thanks, the patch applied.
On Thu, Nov 18, 2021 at 10:42 AM Nikhil Mohite <
[email protected]> wrote:
> Hi Team,
>
> Please find the attached patch for RM-6964:
> <https://redmine.postgresql.org/issues/6964>After removing the database
> from the properties tab, its properties are also displayed.
>
> --
> *Thanks & Regards,*
> *Nikhil Mohite*
> *Senior Software Engineer.*
> *EDB Postgres* <https://www.enterprisedb.com/;
> *Mob.No: +91-7798364578.*
>
--
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Principal Software Architect*
*EDB Postgres <http://edbpostgres.com>*
*Mobile: +91 976-788-8246*
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-11-18 07:07 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-11-18 05:12 [pgAdmin][RM-6964]: After removing database from properties tab, its properties is also displayed Nikhil Mohite <[email protected]>
2021-11-18 07:07 ` Akshay Joshi <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox