Enhance the logic to change the label from 'Delete/Drop' to 'Remove' for the server and server group node. Fixes #4923

This commit is contained in:
Khushboo Vashi
2019-12-03 11:52:02 +05:30
committed by Akshay Joshi
parent ac2bd5e6ee
commit d476343b99
4 changed files with 27 additions and 49 deletions

View File

@@ -70,6 +70,7 @@ define('pgadmin.node.server_group', [
},
}),
canDrop: function(itemData) { return itemData.can_delete; },
dropAsRemove: true,
canDelete: function(i) {
var s = pgAdmin.Browser.tree.siblings(i, true);