diff --git a/mindplot/src/main/javascript/StandaloneActionDispatcher.js b/mindplot/src/main/javascript/StandaloneActionDispatcher.js index 7b5df982..b25fbb62 100644 --- a/mindplot/src/main/javascript/StandaloneActionDispatcher.js +++ b/mindplot/src/main/javascript/StandaloneActionDispatcher.js @@ -83,7 +83,7 @@ mindplot.StandaloneActionDispatcher = new Class({ topic.setText(value); return result; }; - command.commandType = "changeTextToTopic"; + commandFunc.commandType = "changeTextToTopic"; var command = new mindplot.commands.GenericFunctionCommand(commandFunc, topicsIds, text); this.execute(command);