This commit is contained in:
tianshujie
2022-06-24 08:42:39 +08:00
parent ac574675d8
commit c4bdf0ea3d
4 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -1274,7 +1274,7 @@ function handleSortCards(event)
orders.splice(orders.indexOf(fromID), 1);
orders.splice(orders.indexOf(toID) + (event.insert === 'before' ? 0 : 1), 0, fromID);
var url = createLink('kanban', 'sortCard', 'kanbanID=' + executionID + '&laneID=' + newLaneID + '&columnID=' + newColID + '&cards=' + orders.join(','));
var url = createLink('kanban', 'sortCard', 'kanbanID=' + executionID + '&laneID=' + newLaneID + '&columnID=' + newColID + '&cards=' + orders.join(',') + '&cardID=' + toID);
$.getJSON(url, function(response)
{
if(response.result === 'fail')
+1 -1
View File
@@ -1109,7 +1109,7 @@ function handleSortCards(event)
orders.splice(orders.indexOf(fromID), 1);
orders.splice(orders.indexOf(toID) + (event.insert === 'before' ? 0 : 1), 0, fromID);
var url = createLink('kanban', 'sortCard', 'kanbanID=' + executionID + '&laneID=' + newLaneID + '&columnID=' + newColID + '&cards=' + orders.join(','));
var url = createLink('kanban', 'sortCard', 'kanbanID=' + executionID + '&laneID=' + newLaneID + '&columnID=' + newColID + '&cards=' + orders.join(',') + '&cardID=' + toID);
$.getJSON(url, function(response)
{
if(response.result === 'fail')