Skip to content

Commit

Permalink
Fix incorrect usage of attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
jdfreder committed Feb 7, 2014
1 parent 363e26d commit 04aa088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/html/static/notebook/js/widgets/widget.js
Expand Up @@ -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];
Expand Down

0 comments on commit 04aa088

Please sign in to comment.