Don't error out when the only response is result: true

This commit is contained in:
Piotr Sarnacki 2012-11-08 03:37:22 +01:00
parent df15776e0e
commit d19d5003d0

View File

@ -32,3 +32,9 @@ require 'models'
ajax: ->
Travis.ajax.ajax.apply(this, arguments)
sideload: (store, type, json, root) ->
if json && json.result
return
else
@_super.apply this, arguments