no encoding

master
Espen Antonsen 2012-04-24 14:53:14 +08:00
parent 25c8c3b5cb
commit 1a2cbff99e
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ $(document).ready(function() {
max_file_size : '10mb',
multipart: true,
multipart_params: {
'<%= get_session_key %>' : encodeURIComponent('<%= u cookies[get_session_key] %>'),
'<%= get_session_key %>' : encodeURIComponent('<%= cookies[get_session_key] %>'),
'authenticity_token' : '<%= form_authenticity_token %>',
'photo[album_id]' : "<%= @album.id %>"
},