Reopen tasks & shots after editing
This commit is contained in:
@@ -252,6 +252,8 @@ function task_save(task_id, task_url) {
|
|||||||
.addClass('status-' + saved_task.properties.status)
|
.addClass('status-' + saved_task.properties.status)
|
||||||
.flashOnce()
|
.flashOnce()
|
||||||
;
|
;
|
||||||
|
|
||||||
|
task_open(task_id);
|
||||||
},
|
},
|
||||||
fail: function($item, xhr_or_response_data) {
|
fail: function($item, xhr_or_response_data) {
|
||||||
if (xhr_or_response_data.status == 412) {
|
if (xhr_or_response_data.status == 412) {
|
||||||
@@ -275,6 +277,7 @@ function shot_save(shot_id, shot_url) {
|
|||||||
.addClass('status-' + saved_shot.properties.status)
|
.addClass('status-' + saved_shot.properties.status)
|
||||||
.flashOnce()
|
.flashOnce()
|
||||||
;
|
;
|
||||||
|
shot_open(shot_id);
|
||||||
},
|
},
|
||||||
fail: function($item, xhr_or_response_data) {
|
fail: function($item, xhr_or_response_data) {
|
||||||
if (xhr_or_response_data.status == 412) {
|
if (xhr_or_response_data.status == 412) {
|
||||||
|
Reference in New Issue
Block a user