only reload if pandora..editPanel exists
This commit is contained in:
parent
7e5b46a5f0
commit
5840e3bd76
1 changed files with 2 additions and 2 deletions
|
@ -483,7 +483,7 @@ pandora.createLinks = function($element) {
|
||||||
} else if (type == 'clip' && ui.section == 'edits') {
|
} else if (type == 'clip' && ui.section == 'edits') {
|
||||||
// FIXME: update edit list (once it has item count)
|
// FIXME: update edit list (once it has item count)
|
||||||
if (Ox.contains(object.targets, ui.edit)) {
|
if (Ox.contains(object.targets, ui.edit)) {
|
||||||
pandora.$ui.editPanel.updatePanel();
|
pandora.$ui.editPanel && pandora.$ui.editPanel.updatePanel();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
callback && callback();
|
callback && callback();
|
||||||
|
@ -668,7 +668,7 @@ pandora.enableDragAndDrop = function($list, canMove, section) {
|
||||||
: [pandora.user.ui.edit, drag.target.id];
|
: [pandora.user.ui.edit, drag.target.id];
|
||||||
pandora.doHistory(drag.action, data.ids, targets, function() {
|
pandora.doHistory(drag.action, data.ids, targets, function() {
|
||||||
Ox.print('FIXME, reload clipslist on move');
|
Ox.print('FIXME, reload clipslist on move');
|
||||||
pandora.$ui.editPanel.updatePanel();
|
pandora.$ui.editPanel && pandora.$ui.editPanel.updatePanel();
|
||||||
cleanup(250);
|
cleanup(250);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue