diff --git a/static/js/utils.js b/static/js/utils.js index 3ac249e..f4bb2b9 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -432,7 +432,6 @@ 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({ @@ -455,6 +454,7 @@ oml.enableDragAndDrop = function($list, canMove) { if (drag.action == 'move') { oml.$ui.list.updateElement(); } + cleanup(250); }); } else { cleanup() @@ -492,7 +492,6 @@ oml.enableDragAndDrop = function($list, canMove) { text = Ox._('You cannot move books
out of a smart list.'); } } else if (drag.target) { - console.log(drag.target) targetText = drag.target.type == 'libraries' ? Ox._('a library') : drag.target.type == 'library' ? drag.target.user == ''