我遇到了麻烦,因为捆绑工作正常 - 文件被完美地上传到正确的位置 - 但在我的模板中,插件只显示一个文件输入框,所有三个jquery文件都正确打开...任何想法?
<input id="fileupload" type="file" name="files[]" data-url="{{ oneup_uploader_endpoint('gallery') }}" multiple />
<script type="text/javascript" src="{{ asset('bundles/site/js/file-upload/js/vendor/jquery.ui.widget.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/site/js/file- upload/js/jquery.iframe-transport.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/site/js/file-upload/js/jquery.fileupload.js') }}"></script>
<script type="text/javascript">
$(document).ready(function()
{
$('#fileupload').fileupload({});
});
</script>