Compare commits
No commits in common. "b1a21063818e404337735731b258f62088426fda" and "48e451572b0c583b50159beaebfe13a41667de28" have entirely different histories.
b1a2106381
...
48e451572b
2 changed files with 1 additions and 2 deletions
|
|
@ -348,7 +348,6 @@ def sortLists(data):
|
||||||
'''
|
'''
|
||||||
n = 0
|
n = 0
|
||||||
logger.debug('sortLists %s', data)
|
logger.debug('sortLists %s', data)
|
||||||
lists = []
|
|
||||||
for id in data['ids']:
|
for id in data['ids']:
|
||||||
l = models.List.get(id)
|
l = models.List.get(id)
|
||||||
l.index_ = n
|
l.index_ = n
|
||||||
|
|
|
||||||
|
|
@ -432,7 +432,6 @@ 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({
|
||||||
|
|
@ -450,6 +449,7 @@ 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…
Add table
Add a link
Reference in a new issue