diff --git a/app/views/photos/_new_photo.haml b/app/views/photos/_new_photo.haml index 2276cf02ac9a62ebc39f43e0ef93f25f3592f285..202e05b06f03a9bcd6ae5103638d9a714f793db7 100644 --- a/app/views/photos/_new_photo.haml +++ b/app/views/photos/_new_photo.haml @@ -7,7 +7,7 @@ var uploader = new qq.FileUploaderBasic({ element: document.getElementById('file-upload'), params: {'photo' : {'pending' : 'true', 'aspect_ids' : "#{aspect_id}"}, 'set_profile_image' : "#{set_profile_image if defined?(set_profile_image)}"}, - allowedExtensions: ['jpg', 'jpeg', 'png', 'gif'], + allowedExtensions: ['jpg', 'jpeg', 'png'], action: "#{photos_path}", debug: true, button: document.getElementById('file-upload'), diff --git a/app/views/photos/_new_profile_photo.haml b/app/views/photos/_new_profile_photo.haml index 241d425f383c452fda0d0abc02c69a55d7f3bd03..60ea01ec6ed30f901e41976190bc04ba11801d34 100644 --- a/app/views/photos/_new_profile_photo.haml +++ b/app/views/photos/_new_profile_photo.haml @@ -22,7 +22,7 @@ var uploader = new qq.FileUploaderBasic({ element: document.getElementById('file-upload'), params: {'photo' : {'pending' : true, 'aspect_ids' : "all"}}, - allowedExtensions: ['jpg', 'jpeg', 'png', 'gif'], + allowedExtensions: ['jpg', 'jpeg', 'png'], action: "#{photos_path}", debug: true, button: document.getElementById('file-upload'),