documentcloud/backbone — pull request #721 by TrisMcC (2011-11-04 20:06:56+00:00)
Title: Trigger error on originalModel not model

The original model that the 'sync' request was called in should be the object that is taking the 'error' trigger.

After a 'fetch' request on a collection, 'model' is the jQuery xhr object, which does not have a 'trigger' method.

My test case:

```javascript
var collection = new Backbone.Collection;
collection.url = '/bad-url';
collection.fetch();
```