mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-23 03:43:48 +01:00
- Fix error when the node is being deleted and the text is being edited.
This commit is contained in:
parent
e72ae37ac7
commit
1811749964
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user