Commit e562383b authored by Giuseppe Terrasi's avatar Giuseppe Terrasi

sync with rev 1274 upstream

parent c0082e6f
...@@ -28,8 +28,13 @@ function ajaxFileUpload(imageUrl) ...@@ -28,8 +28,13 @@ function ajaxFileUpload(imageUrl)
if(error != ''){ if(error != ''){
alert(error); alert(error);
}else{ }else{
if(fileURL == ''){
alert("There was an internal server error uploading your file.\nPermission denied.");
}
else{
imageUrl.attr('value', appUrl + fileURL); imageUrl.attr('value', appUrl + fileURL);
} }
}
}, },
error: function (data, status, e) error: function (data, status, e)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment