|
|
|
|
@ -39,9 +39,9 @@ function displayPathInfo(path_info)
|
|
|
|
|
sub_list.classList.add('unknown'); |
|
|
|
|
|
|
|
|
|
if (path_info.media_type == 'movie') |
|
|
|
|
sub_list.querySelector('#movie').setAttribute('checked', true); |
|
|
|
|
sub_list.querySelector('input[value^="movie"]').setAttribute('checked', true); |
|
|
|
|
else if (path_info.media_type == 'tv_show') |
|
|
|
|
sub_list.querySelector('#tv_show').setAttribute('checked', true); |
|
|
|
|
sub_list.querySelector('input[value^="tv_show"]').setAttribute('checked', true); |
|
|
|
|
|
|
|
|
|
// NOTE: don't display the radio buttons on top level directory
|
|
|
|
|
if (path_info.depth == 0) { |
|
|
|
|
|