mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Fixed #1511
This commit is contained in:
parent
65c0d74a79
commit
1094487072
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ module.exports.parseServerError = (text) ->
|
|||
error
|
||||
|
||||
module.exports.genericFailure = (jqxhr) ->
|
||||
Backbone.Mediator.publish('server-error', {response: jqxhr})
|
||||
Backbone.Mediator.publish('errors:server-error', {response: jqxhr})
|
||||
return connectionFailure() if not jqxhr.status
|
||||
|
||||
error = module.exports.parseServerError(jqxhr.responseText)
|
||||
|
|
Loading…
Reference in a new issue