Added /attract/<project_url>/shots/<shot-id> endpoint
This commit is contained in:
@@ -41,6 +41,7 @@ function task_open(task_id, project_url) {
|
||||
}
|
||||
|
||||
$('[id^="task-"]').removeClass('active');
|
||||
|
||||
$('#task-' + task_id).addClass('active');
|
||||
|
||||
var task_url = '/attract/' + project_url + '/tasks/' + task_id;
|
||||
@@ -65,6 +66,8 @@ function shot_open(shot_id, project_url) {
|
||||
return;
|
||||
}
|
||||
|
||||
$('#col_right .col_header').text('Shot details');
|
||||
|
||||
$('#shot-list').find('a').removeClass('active');
|
||||
$('#shot-link' + shot_id).addClass('active');
|
||||
|
||||
|
Reference in New Issue
Block a user