Commit 7824b8c8 by David Baumgold

Fix coffeescript issue on Linux

On Linux, coffeescript refuses to compile unless the `catch` keyword has an error
variable to bind to. On Mac, it works just fine either way. Go figure.
parent 1fee805c
......@@ -21,7 +21,7 @@ $ ->
if jqXHR.responseText
try
message = JSON.parse(jqXHR.responseText).error
catch
catch error
message = _.str.truncate(jqXHR.responseText, 300)
else
message = gettext("This may be happening because of an error with our server or your internet connection. Try refreshing the page or making sure you are online.")
......
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