Show More
@@ -729,7 +729,7 b' var CommentsController = function() {' | |||||
729 |
|
729 | |||
730 | if (xhr !== undefined){ |
|
730 | if (xhr !== undefined){ | |
731 | var httpStatus = xhr.status + " " + xhr.statusText; |
|
731 | var httpStatus = xhr.status + " " + xhr.statusText; | |
732 | if (xhr.status >= 500) { |
|
732 | if (xhr !== undefined && xhr.status >= 500) { | |
733 | error = httpStatus; |
|
733 | error = httpStatus; | |
734 | } |
|
734 | } | |
735 | } |
|
735 | } |
@@ -170,7 +170,7 b'' | |||||
170 |
|
170 | |||
171 | if (xhr !== undefined){ |
|
171 | if (xhr !== undefined){ | |
172 | var httpStatus = xhr.status + " " + xhr.statusText; |
|
172 | var httpStatus = xhr.status + " " + xhr.statusText; | |
173 | if (xhr.status >= 500) { |
|
173 | if (xhr !== undefined && xhr.status >= 500) { | |
174 | error = httpStatus; |
|
174 | error = httpStatus; | |
175 | } |
|
175 | } | |
176 | } |
|
176 | } |
General Comments 0
You need to be logged in to leave comments.
Login now