summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c78a504)
Tries to add some feedback for the user when there's a server error uploading an image.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1274
0cfe37f9-358a-4d5e-be75-
b63607b5c754
if(error != ''){
alert(error);
}else{
if(error != ''){
alert(error);
}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);
+ }