diff --git a/module/execution/js/kanban.js b/module/execution/js/kanban.js index b689c4576d..3c38cd4924 100644 --- a/module/execution/js/kanban.js +++ b/module/execution/js/kanban.js @@ -821,6 +821,25 @@ function changeCardColType(cardID, fromColID, toColID, fromLaneID, toLaneID, car showIframe = true; } } + + if(fromLaneID != toLaneID && fromColID == toColID) + { + var link = createLink('kanban', 'ajaxMoveCard', 'cardID=' + objectID + '&fromColID=' + fromColID + '&toColID=' + toColID + '&fromLaneID=' + fromLaneID + '&toLaneID=' + toLaneID + '&execitionID=' + executionID + '&browseType=' + browseType + '&groupBy=' + groupBy + '®ionID=' + regionID + '&orderBy=' + orderBy ); + $.ajax( + { + method: 'post', + dataType: 'json', + url: link, + success: function(data) + { + updateRegion(regionID, data[regionID]); + }, + error: function(xhr, status, error) + { + showErrorMessager(error || lang.timeout); + } + }); + } } /* Bug lane. */