fix move calls
This commit is contained in:
parent
268fb559d9
commit
ce8ea1361f
1 changed files with 3 additions and 4 deletions
|
@ -295,10 +295,9 @@ pandora.createLinks = function($element) {
|
||||||
} else if (action == 'cut' || action == 'delete') {
|
} else if (action == 'cut' || action == 'delete') {
|
||||||
removeItems(items, targets[0], addToHistory);
|
removeItems(items, targets[0], addToHistory);
|
||||||
} else if (action == 'move') {
|
} else if (action == 'move') {
|
||||||
removeItems(
|
removeItems(items, targets[0], function() {
|
||||||
items, targets[0],
|
addItems(items, targets[1], addToHistory);
|
||||||
addItems(items, targets[1], addToHistory)
|
});
|
||||||
);
|
|
||||||
}
|
}
|
||||||
function addToHistory(result, addedItems) {
|
function addToHistory(result, addedItems) {
|
||||||
var actions = {
|
var actions = {
|
||||||
|
|
Loading…
Reference in a new issue