Add shot status indicator on the left

This commit is contained in:
2016-09-22 21:26:56 +02:00
parent b9ce421378
commit cb24b313d0
2 changed files with 12 additions and 5 deletions

View File

@@ -69,8 +69,8 @@ function shot_open(shot_id, project_url) {
$('#col_right .col_header span.header_text').text('Shot details');
$('#shot-list').find('a').removeClass('active');
$('#shot-link' + shot_id).addClass('active');
$('[id^="shot-"]').removeClass('active');
$('#shot-' + shot_id).addClass('active');
var shot_url = '/attract/' + project_url + '/shots/' + shot_id;
console.log('shot_url is ' + shot_url);