Simple bug fixing.
This commit is contained in:
@@ -59,8 +59,6 @@ mindplot.commands.DragTopicCommand = new Class({
|
||||
} else {
|
||||
$assert("Illegal commnad state exception.");
|
||||
}
|
||||
this._order = origOrder;
|
||||
this._position = origPosition;
|
||||
|
||||
// Finally, connect topic ...
|
||||
if ($defined(this._parentId)) {
|
||||
@@ -74,6 +72,11 @@ mindplot.commands.DragTopicCommand = new Class({
|
||||
this._parentId = origParentTopic.getId();
|
||||
}
|
||||
|
||||
// Store for undo ...
|
||||
this._order = origOrder;
|
||||
this._position = origPosition;
|
||||
|
||||
|
||||
},
|
||||
|
||||
undoExecute: function(commandContext) {
|
||||
|
Reference in New Issue
Block a user