1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Sanitize tab name in edit dialog

This commit is contained in:
Nick O'Leary 2019-09-06 10:25:30 +01:00
parent afaf077aca
commit 30c3004f27
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -63,7 +63,7 @@ RED.workspaces = (function() {
RED.view.state(RED.state.EDITING);
var tabflowEditor;
var trayOptions = {
title: RED._("workspace.editFlow",{name:workspace.label}),
title: RED._("workspace.editFlow",{name:RED.utils.sanitize(workspace.label)}),
buttons: [
{
id: "node-dialog-delete",