some fixes

This commit is contained in:
root
2026-02-08 16:57:25 +03:00
parent 725c62a179
commit 9b8d10bbfa
10 changed files with 23678 additions and 256 deletions
+2 -2
View File
@@ -131,7 +131,7 @@ function handleDrop(e) {
if (itemId && newColumnId) {
if (moveUrl) {
console.log('Moving deal:', itemId, 'to stage:', newColumnId);
console.log('Moving item:', itemId, 'to column:', newColumnId);
// Находим перетаскиваемую карточку
const draggedCard = document.querySelector(`.kanban-card[data-item-id="${itemId}"]`);
@@ -145,7 +145,7 @@ function handleDrop(e) {
'Content-Type': 'application/x-www-form-urlencoded',
'X-Requested-With': 'XMLHttpRequest'
},
body: 'deal_id=' + itemId + '&stage_id=' + newColumnId
body: 'id=' + itemId + '&column_id=' + newColumnId
})
.then(response => response.json())
.then(data => {