cleanup before backend returns
This commit is contained in:
parent
75149e715b
commit
b1a2106381
1 changed files with 1 additions and 1 deletions
|
@ -432,6 +432,7 @@ oml.enableDragAndDrop = function($list, canMove) {
|
||||||
) {
|
) {
|
||||||
var targets = drag.action == 'copy' ? drag.target.id
|
var targets = drag.action == 'copy' ? drag.target.id
|
||||||
: [oml.user.ui._list, drag.target.id];
|
: [oml.user.ui._list, drag.target.id];
|
||||||
|
cleanup(250);
|
||||||
oml.doHistory(drag.action, data.ids, targets, function() {
|
oml.doHistory(drag.action, data.ids, targets, function() {
|
||||||
Ox.Request.clearCache('find');
|
Ox.Request.clearCache('find');
|
||||||
oml.api.find({
|
oml.api.find({
|
||||||
|
@ -449,7 +450,6 @@ oml.enableDragAndDrop = function($list, canMove) {
|
||||||
drag.target.id, 'items', result.data.items
|
drag.target.id, 'items', result.data.items
|
||||||
);
|
);
|
||||||
*/
|
*/
|
||||||
cleanup(250);
|
|
||||||
});
|
});
|
||||||
oml.$ui.folders.updateItems();
|
oml.$ui.folders.updateItems();
|
||||||
if (drag.action == 'move') {
|
if (drag.action == 'move') {
|
||||||
|
|
Loading…
Reference in a new issue