Skip to content

Conversation

@kirach
Copy link

@kirach kirach commented Nov 21, 2014

Model tracking should be reset before calling old success callback during save method. For now, this example from documentation doesn't work:

model.save({}, {
    success: function() {
        console.log(model.unsavedAttributes());  // >> false
    }
});

because we call success and then reset tracking. This PR solve this problem.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant