mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Make the WHEN field a CodeMirror control on the Event Trigger dialogue. Fixes #4050
This commit is contained in:
@@ -129,7 +129,10 @@ define('pgadmin.node.event_trigger', [
|
||||
{label: 'SQL DROP', value: 'SQL_DROP'},
|
||||
],
|
||||
},{
|
||||
id: 'when', label: gettext('When'), type: 'multiline', group: gettext('Definition'),
|
||||
id: 'when', label: gettext('When'), cell: 'string',
|
||||
type: 'text', group: gettext('Definition'),
|
||||
control: Backform.SqlFieldControl,
|
||||
extraClasses:['custom_height_css_class'],
|
||||
},{
|
||||
id: 'seclabels', label: gettext('Security labels'),
|
||||
model: pgBrowser.SecLabelModel, editable: false, type: 'collection',
|
||||
|
||||
Reference in New Issue
Block a user