Merge branch 'master' into dev

This commit is contained in:
Nick O'Leary
2019-09-06 10:49:27 +01:00
3 changed files with 7 additions and 2 deletions

View File

@@ -70,7 +70,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",

View File

@@ -76,7 +76,7 @@ module.exports = {
apiEnabled = true;
server = httpServer;
} else {
runtime.init(userSettings);
runtime.init(userSettings, httpServer);
apiEnabled = false;
if (httpServer) {
server = httpServer;