Reopen tasks & shots after editing

This commit is contained in:
2016-10-04 14:37:58 +02:00
parent a9ed5e0b19
commit f4ae005252

View File

@@ -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) {