Skip to content

Commit

Permalink
add check for offline request
Browse files Browse the repository at this point in the history
  • Loading branch information
sampot committed Nov 3, 2015
1 parent e570bfd commit 1823a41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webfront/js/app-views.js
Expand Up @@ -141,6 +141,8 @@ ava.views.Home = Backbone.View.extend({
},

_handle_check_error: function(xhr,status,error) {
console.log(status)
console.log(error)
res = JSON.parse(xhr.responseText)
this._show_message("Error: " + res['reason']);
},
Expand Down

0 comments on commit 1823a41

Please sign in to comment.