From c6f11f691dc45ef183622b1809fa479fbf082dc3 Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Sun, 8 Jan 2012 17:23:04 -0800 Subject: [PATCH] don't block tiff extensions in our out-of-date js uploader [ci skip] --- app/views/photos/_new_photo.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/photos/_new_photo.haml b/app/views/photos/_new_photo.haml index ccfd73eab..bec158735 100644 --- a/app/views/photos/_new_photo.haml +++ b/app/views/photos/_new_photo.haml @@ -10,7 +10,7 @@ var uploader = new qq.FileUploaderBasic({ element: document.getElementById('file-upload'), params: {'photo' : {'pending' : 'true', 'aspect_ids' : aspectIds}, 'set_profile_image' : "#{set_profile_image if defined?(set_profile_image)}"}, - allowedExtensions: ['jpg', 'jpeg', 'png', 'gif'], + allowedExtensions: ['jpg', 'jpeg', 'png', 'gif', 'tiff'], action: "#{photos_path}", debug: true, button: document.getElementById('file-upload'),