Skip to content

Commit

Permalink
pass current user to upload (fixes #2)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbach committed Sep 26, 2014
1 parent caf1fd1 commit 7d17107
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion assets/jbx_multiple_image_upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
'uploader' : jbx_variables.paths.upload,
'auto' : false,
'formData' : {
'_jbx_token': jbx_variables.token
'_jbx_token': jbx_variables.token,
'_jbx_user': jbx_variables.user
},
'buttonText': jbx_variables.strings.browse,
'fileSizeLimit': jbx_variables.fileSizeLimit,
Expand Down
Loading

0 comments on commit 7d17107

Please sign in to comment.