Commit e562383b authored by Giuseppe Terrasi's avatar Giuseppe Terrasi

sync with rev 1274 upstream

parent c0082e6f
...@@ -28,7 +28,12 @@ function ajaxFileUpload(imageUrl) ...@@ -28,7 +28,12 @@ function ajaxFileUpload(imageUrl)
if(error != ''){ if(error != ''){
alert(error); alert(error);
}else{ }else{
imageUrl.attr('value', appUrl + fileURL); if(fileURL == ''){
alert("There was an internal server error uploading your file.\nPermission denied.");
}
else{
imageUrl.attr('value', appUrl + fileURL);
}
} }
}, },
......
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