mirror of
https://github.com/itflow-org/itflow
synced 2026-03-11 00:04:50 +00:00
ajax cleanup
This commit is contained in:
9
ajax.php
9
ajax.php
@@ -555,14 +555,7 @@ if (isset($_POST['update_kanban_ticket'])) {
|
|||||||
// Update ticket kanban order and status
|
// Update ticket kanban order and status
|
||||||
enforceUserPermission('module_support', 2);
|
enforceUserPermission('module_support', 2);
|
||||||
|
|
||||||
|
// all tickets on the column
|
||||||
// have to do new logic, to update only one dragged ticket
|
|
||||||
$positions = $_POST['positions']; //old and new position
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// old logic that updated all tickets on the column
|
|
||||||
$positions = $_POST['positions'];
|
$positions = $_POST['positions'];
|
||||||
|
|
||||||
foreach ($positions as $position) {
|
foreach ($positions as $position) {
|
||||||
|
|||||||
Reference in New Issue
Block a user