Fix incorrect usage of attrs

This commit is contained in:
Jonathan Frederic 2014-02-07 11:12:23 -08:00 committed by Jonathan Frederic
parent 54f7d42244
commit 0d80363240

View File

@ -148,7 +148,7 @@ function(WidgetManager, _, Backbone){
}
// Delete any key value pairs that the back-end already knows about.
var attrs = (method === 'patch') ? options.attrs : model.toJSON(options);
var attrs = (method === 'patch') ? model.changed : model.toJSON(options);
if (this.key_value_lock !== null) {
var key = this.key_value_lock[0];
var value = this.key_value_lock[1];