diff --git a/mindplot/src/main/javascript/commands/DeleteCommand.js b/mindplot/src/main/javascript/commands/DeleteCommand.js index 94f1918d..7ed894b1 100644 --- a/mindplot/src/main/javascript/commands/DeleteCommand.js +++ b/mindplot/src/main/javascript/commands/DeleteCommand.js @@ -36,6 +36,9 @@ mindplot.commands.DeleteCommand = new Class({ if (topics.length > 0) { topics.each(function (topic) { + // In case that it's editing text node, force close without update ... + topic.closeEditors(); + var model = topic.getModel(); // Delete relationships