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

@ -18,3 +18,4 @@ Bug fixes
| `Bug #3016 <https://redmine.postgresql.org/issues/3016>`_ - Ensure previous notices are not removed from the Messages tab in the Query Tool if an error occurs during query execution.
| `Bug #3029 <https://redmine.postgresql.org/issues/3029>`_ - Allow the selection order to be preserved in the Select2 control to fix column ordering in data Import/Export.
| `Bug #3629 <https://redmine.postgresql.org/issues/3629>`_ - Allow use of 0 (integer) and empty strings as parameters in the debugger.
| `Bug #3746 <https://redmine.postgresql.org/issues/3746>`_ - Fix dropping of multiple functions/procedures at once.

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) {