adding gif support

This commit is contained in:
uiri 2010-09-22 09:33:37 +08:00 committed by Raphael Sofaer
parent f11a481ed7
commit c711e85c89

View file

@ -8,7 +8,7 @@
var uploader = new qq.FileUploader({
element: document.getElementById('file-upload'),
params: {'album_id' : "#{@album.id}"},
allowedExtensions: ['jpg', 'jpeg', 'png'],
allowedExtensions: ['jpg', 'jpeg', 'png', 'gif'],
action: "#{photos_path}"
});
}