forked from 0x2620/pandora
first update lists, then reload list
This commit is contained in:
parent
7fc6fbc14a
commit
2c78b2fadf
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,6 @@ pandora.enableDragAndDrop = function($list, canMove, section) {
|
||||||
var targets = drag.action == 'copy' ? drag.target.id
|
var targets = drag.action == 'copy' ? drag.target.id
|
||||||
: [pandora.user.ui._list, drag.target.id];
|
: [pandora.user.ui._list, drag.target.id];
|
||||||
pandora.doHistory(drag.action, data.ids, targets, function() {
|
pandora.doHistory(drag.action, data.ids, targets, function() {
|
||||||
drag.action == 'move' && pandora.reloadList();
|
|
||||||
Ox.Request.clearCache('find');
|
Ox.Request.clearCache('find');
|
||||||
pandora.api.find({
|
pandora.api.find({
|
||||||
query: {
|
query: {
|
||||||
|
@ -557,6 +556,7 @@ pandora.enableDragAndDrop = function($list, canMove, section) {
|
||||||
);
|
);
|
||||||
cleanup(250);
|
cleanup(250);
|
||||||
});
|
});
|
||||||
|
drag.action == 'move' && pandora.reloadList();
|
||||||
});
|
});
|
||||||
} else if (section == 'edits') {
|
} else if (section == 'edits') {
|
||||||
var clips = data.ids.map(function(id) {
|
var clips = data.ids.map(function(id) {
|
||||||
|
|
Loading…
Reference in a new issue