handle undo copy when copy target is the current list
This commit is contained in:
parent
c35445f498
commit
d8e6e18855
1 changed files with 3 additions and 7 deletions
|
@ -388,16 +388,12 @@ pandora.createLinks = function($element) {
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
} else if (type == 'clip' && ui.section == 'edits') {
|
if (Ox.contains(object.targets, ui._list)) {
|
||||||
// FIXME: update edit list
|
|
||||||
}
|
|
||||||
if (object.action != 'copy') {
|
|
||||||
if (type == 'item' && ui.section == 'items' && Ox.contains(object.targets, ui._list)) {
|
|
||||||
// FIXME: Why is this timeout needed?
|
// FIXME: Why is this timeout needed?
|
||||||
setTimeout(pandora.reloadList, 250);
|
setTimeout(pandora.reloadList, 250);
|
||||||
} else if (type == 'clip' && ui.section == 'edits' && Ox.contains(object.targets, ui.edit)) {
|
|
||||||
// FIXME: reload clip list
|
|
||||||
}
|
}
|
||||||
|
} else if (type == 'clip' && ui.section == 'edits') {
|
||||||
|
// FIXME: update edit list and reload clip list
|
||||||
}
|
}
|
||||||
callback && callback();
|
callback && callback();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue