From f4ae00525246d4448ccb1859eb9da34b8e092b68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 4 Oct 2016 14:37:58 +0200 Subject: [PATCH] Reopen tasks & shots after editing --- src/scripts/tutti/10_tasks.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scripts/tutti/10_tasks.js b/src/scripts/tutti/10_tasks.js index 289a920..4a34366 100644 --- a/src/scripts/tutti/10_tasks.js +++ b/src/scripts/tutti/10_tasks.js @@ -252,6 +252,8 @@ function task_save(task_id, task_url) { .addClass('status-' + saved_task.properties.status) .flashOnce() ; + + task_open(task_id); }, fail: function($item, xhr_or_response_data) { if (xhr_or_response_data.status == 412) { @@ -275,6 +277,7 @@ function shot_save(shot_id, shot_url) { .addClass('status-' + saved_shot.properties.status) .flashOnce() ; + shot_open(shot_id); }, fail: function($item, xhr_or_response_data) { if (xhr_or_response_data.status == 412) {