Added "View in shot context" to task detail when viewed in task context.
This commit is contained in:
@@ -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 + '…');
|
||||
|
||||
|
Reference in New Issue
Block a user