documentcloud/backbone — Issue #679: Request: silent save
Author: rstacruz
Created: 2011-10-18 18:21:08+00:00
State: open

I'd like a way to save models without triggering the `change` event when the data comes back later.

I've tried:

``` javascript
var task = new Task(..);
task.fetch();

// This will trigger a change event.
task.set({ status: "started" });

// This will trigger a change event, too, when the data comes back.
task.save();
```

Perhaps something like `model.save({}, {silent: true})` would be nice.

### Real world use case:

If you're making a task management application where each task can have many states (`started`, `finished`, `delivered`, ...), you probably will bind a `change` event on the tasks collection to update the UI when a state changes.

I'd like the user to be able to click on the task's "start", "finish", and "deliver" buttons in rapid succession. When the user clicks too fast, the `change` event that the saving will trigger may happen late, which will 'revert' the state of the task in the UI.