Bug in Database Nodes in the Tree - Mailing list pgadmin-hackers

From Yosry Muhammad
Subject Bug in Database Nodes in the Tree
Date
Msg-id CAFSMqn9bUm4SGsicbVf9_vgy9rhEXp_J5zhrXM0gBgevUffrEQ@mail.gmail.com
Whole thread Raw
Responses Re: Bug in Database Nodes in the Tree  (Khushboo Vashi <khushboo.vashi@enterprisedb.com>)
List pgadmin-hackers
Hi Khushboo,

There's a minor bug that I noticed a while back that when you right click a disconnected database (to drop it for example) it automatically connects to the database and expands the node. This behaviour is a little annoying to users (me too), I am trying to fix it.

I looked around the code in the browser module (node.js, database.js, menu.js) and I couldn't find a way to modify this behaviour. Is this handled internally by jQuery? Is modifying this behaviour feasible?

I think the problem is that the right click event triggers the left event click too. Am I correct?

Thanks!

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Randomise table names for tests.
Next
From: Khushboo Vashi
Date:
Subject: Re: Bug in Database Nodes in the Tree