Merge branch 'parties' of github.com:zakkain/habitrpg into parties

This commit is contained in:
Zachary Kain 2013-01-30 22:33:58 -05:00
commit 78e36cacb3

View file

@ -302,7 +302,7 @@ ready (model) ->
model.fetch query, (err, users) ->
friend = users.at(0).get()
debugger
if friend.id?
if friend?.id?
user.push('friends', friendId)
$('#add-friend-modal').modal('hide')
window.location.reload() #TODO break old subscription, setup new subscript, remove this reload