diff --git a/static/js/utils.js b/static/js/utils.js index 94a1003..3ac249e 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -432,6 +432,7 @@ oml.enableDragAndDrop = function($list, canMove) { ) { var targets = drag.action == 'copy' ? drag.target.id : [oml.user.ui._list, drag.target.id]; + cleanup(250); oml.doHistory(drag.action, data.ids, targets, function() { Ox.Request.clearCache('find'); oml.api.find({ @@ -449,7 +450,6 @@ oml.enableDragAndDrop = function($list, canMove) { drag.target.id, 'items', result.data.items ); */ - cleanup(250); }); oml.$ui.folders.updateItems(); if (drag.action == 'move') {