Fix dropping of server groups.

This commit is contained in:
Seçkin Alan 2016-04-16 09:55:38 +01:00 committed by Dave Page
parent e210d2b580
commit 26aa5607ad

View File

@ -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;