pgadmin4/web/pgadmin/browser
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
..
server_groups Resolved an issue about missing 'canDrop' function check for the browser 2016-05-16 23:09:11 +05:30
static Check for valid object existence before checking its session changed 2016-05-16 18:29:32 +05:30
templates/browser 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 Added missing dependent javascript 'jquery.aciFragment' required by the 2016-04-19 23:48:10 +05:30
collection.py Preferences dialogue. Patch by Ashesh and Khushboo Vashi. 2016-03-07 11:48:53 +00:00
utils.py First round of string review and cleanup. 2016-05-06 13:53:48 +01:00