Skip to content

Commit

Permalink
Merge pull request #5613 from avalonmediasystem/add_to_playlist_checkbox
Browse files Browse the repository at this point in the history
Check "Create playlist items for each track" by default
  • Loading branch information
masaball authored Feb 1, 2024
2 parents df42604 + 162e859 commit 7189ea0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/assets/javascripts/ramp_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ function resetAddToPlaylistForm() {
$('#playlist_item_description').val('');
$('#playlist_item_title').val('');
$('input[name="post[playlistitem_scope]"]').prop('checked', false);
$('#playlistitem_scope_structure').prop('checked', false);
$('#playlistitem_scope_structure').prop('checked', true);
$('#moreDetails').collapse('hide');
$('#multiItemCheck').collapse('hide');
}
Expand Down
2 changes: 1 addition & 1 deletion app/views/media_objects/_add_to_playlist.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Unless required by applicable law or agreed to in writing, software distributed
<div class="collapse mb-4 mt-4" id="multiItemCheck" data-parent="#moreInfo">
<div class="form-check">
<label class="form-check-label">
<input type="checkbox" id="playlistitem_scope_structure">
<input type="checkbox" id="playlistitem_scope_structure" checked>
Create playlist items for each track/subsection
</label>
</div>
Expand Down

0 comments on commit 7189ea0

Please sign in to comment.