diff --git a/app/views/photos/_new_profile_photo.haml b/app/views/photos/_new_profile_photo.haml index 08e97b0ec..17b7ec7b2 100644 --- a/app/views/photos/_new_profile_photo.haml +++ b/app/views/photos/_new_profile_photo.haml @@ -21,7 +21,7 @@ function createUploader(){ var uploader = new qq.FileUploaderBasic({ element: document.getElementById('file-upload'), - params: {'photo' : {'pending' : true, 'aspect_ids' : "all"}}, + params: {'photo' : {'pending' : true, 'aspect_ids' : "all", 'set_profile_photo': true}}, allowedExtensions: ['jpg', 'jpeg', 'png'], action: "#{photos_path}", debug: true,