add timeout before reloading list after undo/redo
This commit is contained in:
parent
2c78b2fadf
commit
c35445f498
1 changed files with 2 additions and 1 deletions
|
@ -393,7 +393,8 @@ pandora.createLinks = function($element) {
|
||||||
}
|
}
|
||||||
if (object.action != 'copy') {
|
if (object.action != 'copy') {
|
||||||
if (type == 'item' && ui.section == 'items' && Ox.contains(object.targets, ui._list)) {
|
if (type == 'item' && ui.section == 'items' && Ox.contains(object.targets, ui._list)) {
|
||||||
pandora.reloadList();
|
// FIXME: Why is this timeout needed?
|
||||||
|
setTimeout(pandora.reloadList, 250);
|
||||||
} else if (type == 'clip' && ui.section == 'edits' && Ox.contains(object.targets, ui.edit)) {
|
} else if (type == 'clip' && ui.section == 'edits' && Ox.contains(object.targets, ui.edit)) {
|
||||||
// FIXME: reload clip list
|
// FIXME: reload clip list
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue