- Fix error when the node is being deleted and the text is being edited.

This commit is contained in:
Paulo Gustavo Veiga 2012-09-28 00:49:45 -03:00
parent e72ae37ac7
commit 1811749964

View File

@ -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