Added "View in shot context" to task detail when viewed in task context.

This commit is contained in:
2016-10-11 15:53:19 +02:00
parent b7c6402453
commit 3c2a00b086
3 changed files with 9 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ function item_open(item_id, item_type, pushState, project_url)
if (ProjectUtils.context() == 'shot' && item_type == 'task'){
push_url = '/attract/' + project_url + '/shots/with-task/' + item_id;
}
item_url += '?context=' + ProjectUtils.context();
$('#status-bar').text('Loading ' + item_type + '…');