##// END OF EJS Templates
uploads: handle server errors nicer
marcink -
r3994:0ef8f167 default
parent child Browse files
Show More
@@ -729,7 +729,7 b' var CommentsController = function() {'
729 729
730 730 if (xhr !== undefined){
731 731 var httpStatus = xhr.status + " " + xhr.statusText;
732 if (xhr.status >= 500) {
732 if (xhr !== undefined && xhr.status >= 500) {
733 733 error = httpStatus;
734 734 }
735 735 }
@@ -170,7 +170,7 b''
170 170
171 171 if (xhr !== undefined){
172 172 var httpStatus = xhr.status + " " + xhr.statusText;
173 if (xhr.status >= 500) {
173 if (xhr !== undefined && xhr.status >= 500) {
174 174 error = httpStatus;
175 175 }
176 176 }
General Comments 0
You need to be logged in to leave comments. Login now