mirror of https://github.com/itflow-org/itflow
ajax cleanup
This commit is contained in:
parent
c7b9c95d0d
commit
17cd1fd0c1
9
ajax.php
9
ajax.php
|
|
@ -554,15 +554,8 @@ if (isset($_POST['update_kanban_status_position'])) {
|
|||
if (isset($_POST['update_kanban_ticket'])) {
|
||||
// Update ticket kanban order and status
|
||||
enforceUserPermission('module_support', 2);
|
||||
|
||||
|
||||
// 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
|
||||
// all tickets on the column
|
||||
$positions = $_POST['positions'];
|
||||
|
||||
foreach ($positions as $position) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue