mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix dropping of server groups.
This commit is contained in:
parent
e210d2b580
commit
26aa5607ad
@ -408,8 +408,9 @@ function($, _, S, pgAdmin, Menu, Backbone, Alertify, pgBrowser, Backform) {
|
||||
},
|
||||
// Delete the selected object
|
||||
delete_obj: function(args, item) {
|
||||
var input = args || {};
|
||||
var input = args || {'url':'drop'};
|
||||
obj = this,
|
||||
obj.canDrop = true
|
||||
t = pgBrowser.tree,
|
||||
i = input.item || item || t.selected(),
|
||||
d = i && i.length == 1 ? t.itemData(i) : undefined;
|
||||
|
Loading…
Reference in New Issue
Block a user