From 9b9e43adbb44f3f91d9516ebd8f3fba90cb358be 2014-02-10 22:50:49 From: Jonathan Frederic Date: 2014-02-10 22:50:49 Subject: [PATCH] Revert "Let backbone get changed attrs" This reverts commit 4dd4990ff146508894353e390601c659d2638ed3. --- diff --git a/IPython/html/static/notebook/js/widgets/widget.js b/IPython/html/static/notebook/js/widgets/widget.js index 8ed2705..17eb1f1 100644 --- a/IPython/html/static/notebook/js/widgets/widget.js +++ b/IPython/html/static/notebook/js/widgets/widget.js @@ -203,7 +203,7 @@ function(WidgetManager, _, Backbone){ // Push this model's state to the back-end // // This invokes a Backbone.Sync. - this.save({patch: true, callbacks: callbacks}); + this.save(this.changedAttributes(), {patch: true, callbacks: callbacks}); }, _pack_models: function(value) {