pgadmin4/web/pgadmin/browser/server_groups
Surinder Kumar 2c7a45814c Resolved an issue about missing 'canDrop' function check for the browser
tree nodes.

Each individual node is responsible for introducing the 'canDrop'
function/flag to decide whether the 'Delete/Drop' context menu should be
enabled/disabled.

In commit-id: 26aa5607ad, 'obj.canDrop'
was set to true in the 'pgBrowser.Node' in delete callback, just to make
the server-group droppable, which is wrong, as all the nodes are
getting affected because of this change in a wrong way.

To fix the issue, added the 'canDrop' function in the server-group node.

Apart from them, also added restriction for not allowing to delete the
default server-group.

Also, handled the same restriction at the server end.
2016-05-16 23:09:11 +05:30
..
servers Add support for foreign server 2016-05-16 01:42:09 +05:30
static/img Re-organise node structure and loading to make things somewhat more 2015-03-10 13:09:11 +00:00
templates/server_groups Resolved an issue about missing 'canDrop' function check for the browser 2016-05-16 23:09:11 +05:30
tests Initial version of a regression test framework 2016-04-17 10:39:08 -04:00
__init__.py Resolved an issue about missing 'canDrop' function check for the browser 2016-05-16 23:09:11 +05:30