diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-21 22:17:24 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-21 22:17:24 -0500 |
commit | 8bb67dc8cb2c11732f96bc83ea1ebc6621dfbd30 (patch) | |
tree | cdd2622454b441fbb7fd3f3ebbfda7e9e9bc87d0 /app/Template/board | |
parent | 836495b54b4c33a08d5473a362f76db5e452182f (diff) |
Avoid to send XHR request when a task has not moved after a drag and drop
Diffstat (limited to 'app/Template/board')
-rw-r--r-- | app/Template/board/task_private.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Template/board/task_private.php b/app/Template/board/task_private.php index 6267f57f..8d76453c 100644 --- a/app/Template/board/task_private.php +++ b/app/Template/board/task_private.php @@ -3,6 +3,9 @@ <?= $task['is_active'] == 1 ? ($this->user->hasProjectAccess('board', 'save', $task['project_id']) ? 'draggable-item ' : '').'task-board-status-open '.($task['date_modification'] > (time() - $board_highlight_period) ? 'task-board-recent' : '') : 'task-board-status-closed' ?> color-<?= $task['color_id'] ?>" data-task-id="<?= $task['id'] ?>" + data-column-id="<?= $task['column_id'] ?>" + data-swimlane-id="<?= $task['swimlane_id'] ?>" + data-position="<?= $task['position'] ?>" data-owner-id="<?= $task['owner_id'] ?>" data-category-id="<?= $task['category_id'] ?>" data-due-date="<?= $task['date_due'] ?>" |