Simple bug fixing.

This commit is contained in:
Paulo Veiga
2011-10-27 21:18:49 -03:00
parent cb7b3a2660
commit cfda92195a
11 changed files with 71 additions and 35 deletions

View File

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