0
나는 내 3.1 앱에서 uploadify를 구현하려고 시도 해왔다. 그리고 난 here 언급 한 단계를 따랐다. 그리고 내 코드는 다음과 같습니다.Uploadify를 사용할 때의 문제점
{my form code here}
- arr = []
- request.env['HTTP_COOKIE'].each_char{|c| arr.push(c[0].to_s)}
- @session = arr.join("x")
= @sermon_path = sermons_path
:javascript
$('#sermon_sermon').uploadify({
uploader: '/uploadify.swf',
script: '#{@sermon_path}',
cancelImg: 'cancel.png',
buttonText: 'Browse',
auto: true,
scriptData: { 'session_encoded': '#{@session}'}
})
업로드 할 파일을 선택하는 업로드 버튼이 있지만 파일을 선택하면 아무 일도 일어나지 않습니다. 업로드 된 파일을 표시하지 않으며 서버에 응답을 보내지 않습니다. 도움을 주시면 감사하겠습니다.