mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
ensure mode is set for event log viewer
This commit is contained in:
parent
f29488b24f
commit
37ba409dc3
@ -73,6 +73,7 @@ RED.eventLog = (function() {
|
|||||||
var trayBody = tray.find('.red-ui-tray-body');
|
var trayBody = tray.find('.red-ui-tray-body');
|
||||||
var dialogForm = RED.editor.buildEditForm(tray.find('.red-ui-tray-body'),'dialog-form',type,'editor');
|
var dialogForm = RED.editor.buildEditForm(tray.find('.red-ui-tray-body'),'dialog-form',type,'editor');
|
||||||
eventLogEditor = RED.editor.createEditor({
|
eventLogEditor = RED.editor.createEditor({
|
||||||
|
mode:"ace/mode/shell",
|
||||||
id: 'red-ui-event-log-editor',
|
id: 'red-ui-event-log-editor',
|
||||||
value: backlog.join("\n"),
|
value: backlog.join("\n"),
|
||||||
lineNumbers: false,
|
lineNumbers: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user