Skip to content

Commit

Permalink
Fix:不要なアップロードボタンを消す
Browse files Browse the repository at this point in the history
  • Loading branch information
mikosu3 committed Aug 20, 2017
1 parent c572b43 commit 39bd6f0
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions app/views/videos/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,14 @@
<% end %>

<script>
$(document).ready(function() {
$('#upload_file').fileinput({
language : 'ja',
hideThumbnailContent : true,
allowedFileExtensions : ['emm', 'xml'],
removeFromPreviewOnError : true,
fileActionSettings : {
showZoom : false,
}
});
});
$('#upload_file').fileinput({
language : 'ja',
hideThumbnailContent : true,
allowedFileExtensions : ['emm', 'xml'],
removeFromPreviewOnError : true,
showUpload : false,
fileActionSettings : {
showZoom : false,
}
});
</script>

0 comments on commit 39bd6f0

Please sign in to comment.