fix list item count update after undo/redo
This commit is contained in:
parent
decb6ba0c2
commit
7f5eb4d1b5
1 changed files with 18 additions and 18 deletions
|
@ -378,10 +378,11 @@ pandora.createLinks = function($element) {
|
|||
// FIXME: reload clip list
|
||||
}
|
||||
}
|
||||
if (object.action == 'copy' || object.action == 'move') {
|
||||
if (type == 'item' && ui.section == 'items') {
|
||||
Ox.Request.clearCache('find');
|
||||
object.targets.forEach(function(list) {
|
||||
object.targets.filter(function(list) {
|
||||
return list != ui._list;
|
||||
}).forEach(function(list) {
|
||||
listData = pandora.getListData(list);
|
||||
pandora.api.find({
|
||||
query: {
|
||||
|
@ -397,7 +398,6 @@ pandora.createLinks = function($element) {
|
|||
} else if (type == 'clip' && ui.section == 'edits') {
|
||||
// FIXME: update edit list
|
||||
}
|
||||
}
|
||||
callback && callback();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue