Permalink
Browse files

#34 Win-streak checking fix

  • Loading branch information...
1 parent 0e590dc commit ade7a71142b8432ce668fd734b80329e9637693d @y3sh y3sh committed Mar 13, 2012
@@ -194,6 +194,7 @@ define [
chainSaveCallbacks: (pendingSaveArr,callback,callbackArgs)->
view = _.first(pendingSaveArr)?.view
view?.$el.addClass('saving')
+ callback?.apply(@,callbackArgs)
view?.model.save(
_.first(pendingSaveArr)?.model
@@ -206,7 +207,6 @@ define [
if pendingSaveArr.length > 1 #if there are more views
@chainSaveCallbacks(_.last(pendingSaveArr,pendingSaveArr.length-1),callback,callbackArgs) #save the rest of the views
else
- callback?.apply(@,callbackArgs)
error: (model, response) =>
pendingSaveArr.forEach((viewObj) ->

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit ade7a71

Please sign in to comment.