Allow SVG upload

Just to make #222 able to merge again
This commit is contained in:
Alexandre Teles 2016-08-22 15:05:35 -03:00 committed by GitHub
parent ac263e4230
commit acb32518ca
1 changed files with 2 additions and 2 deletions

View File

@ -356,7 +356,7 @@ $(document).ready(function() {
{
type: "json",
action: HTML_PATH_ADMIN_ROOT+"ajax/uploader",
allow : "*.(jpg|jpeg|gif|png)",
allow : "*.(jpg|jpeg|gif|png|svg)",
params: {"type":"profilePicture", "username":"'.$username.'"},
loadstart: function() {