mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Don't allow creation of edbspl trigger functions (they should be created as part of the trigger). Fixes #1212.
This commit is contained in:
committed by
Dave Page
parent
7e27c6280f
commit
014eb2a5c2
@@ -159,7 +159,7 @@ function($, _, S, pgAdmin, pgBrowser, alertify) {
|
|||||||
id: 'lanname', label: '{{ _('Language') }}', cell: 'string',
|
id: 'lanname', label: '{{ _('Language') }}', cell: 'string',
|
||||||
control: 'node-ajax-options', type: 'text', group: '{{ _('Definition') }}',
|
control: 'node-ajax-options', type: 'text', group: '{{ _('Definition') }}',
|
||||||
url: 'get_languages', disabled: 'isDisabled', transform: function(d, self) {
|
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 }
|
}, select2: { allowClear: false }
|
||||||
},{
|
},{
|
||||||
id: 'prosrc', label: '{{ _('Code') }}', cell: 'string',
|
id: 'prosrc', label: '{{ _('Code') }}', cell: 'string',
|
||||||
|
|||||||
Reference in New Issue
Block a user