Don't allow creation of edbspl trigger functions (they should be created as part of the trigger). Fixes #1212.

This commit is contained in:
Murtuza Zabuawala
2016-06-17 13:46:42 +01:00
committed by Dave Page
parent 7e27c6280f
commit 014eb2a5c2

View File

@@ -159,7 +159,7 @@ function($, _, S, pgAdmin, pgBrowser, alertify) {
id: 'lanname', label: '{{ _('Language') }}', cell: 'string',
control: 'node-ajax-options', type: 'text', group: '{{ _('Definition') }}',
url: 'get_languages', disabled: 'isDisabled', transform: function(d, self) {
return _.reject(d, function(o){ return o.label == 'sql'; });
return _.reject(d, function(o){ return o.label == 'sql' || o.label == 'edbspl'; });
}, select2: { allowClear: false }
},{
id: 'prosrc', label: '{{ _('Code') }}', cell: 'string',