Skip to content

Commit

Permalink
ui: Fixed bug selecting taskType
Browse files Browse the repository at this point in the history
  • Loading branch information
paolobolettieri committed Jan 26, 2024
1 parent 629a30e commit 640c425
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions visione/services/web-ui/js/visione.js
Original file line number Diff line number Diff line change
Expand Up @@ -1189,8 +1189,8 @@ function setTaskType(taskType) {
else
sessionStorage.setItem('taskType', taskType);

localStorage.setItem('taskType', taskType);
$('input[name="option"][value="' + taskType + '"]').prop('checked', true);
localStorage.setItem('taskType', getTaskType());
$('input[name="option"][value="' + getTaskType() + '"]').prop('checked', true);
$('#taskTypeLabel').text(getTaskType().toUpperCase() );

}
Expand Down
2 changes: 1 addition & 1 deletion visione/services/web-ui/showVideoKeyframes.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<a style="font-size:12px;" href="indexedData.html?videoId=${videoId}&id=${keyframes[i]}" title="Show Indexed Data" target="_blank" >${keyframes[i]}</a>
<a href="#"><i class="fa fa-play" style="font-size: 16px; color: #007bff; padding-left: 5px; padding-right: 5px;" onclick="playVideoWindow('${videoUrl}', '${videoId}', '${keyframes[i]}'); return false;"></i><a/>
<span class="pull-right">
<a href="#"><i title="Submit result" class="fa fa-arrow-alt-circle-up" style="font-size: 21px; float: right; color: #00AA00; padding-left: 0px;" onclick="submit('${frameName}', '${videoId}');"></i></a>
<a href="#"><i title="Submit result" class="fa fa-arrow-alt-circle-up" style="font-size: 21px; float: right; color: #00AA00; padding-left: 0px;" onclick="submit('${frameName}', '${videoId}'); return false"></i></a>
</span>
</div>
</div>
Expand Down

0 comments on commit 640c425

Please sign in to comment.