Fix dropping of multiple functions/procedures at once. Fixes #3746

This commit is contained in:
Akshay Joshi
2018-11-14 08:40:21 -05:00
committed by Dave Page
parent eae18f6f14
commit 9b0889842d
2 changed files with 2 additions and 0 deletions

View File

@@ -130,6 +130,7 @@ define('pgadmin.node.function', [
},
model: pgBrowser.Node.Model.extend({
idAttribute: 'oid',
initialize: function(attrs, args) {
var isNew = (_.size(attrs) === 0);
if (isNew) {