mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-23 12:49:41 +08:00
Revert "Fix incorrect usage of attrs"
This reverts commit 04aa0885bb143fd0409fe133ca572004ffa6dc0e.
This commit is contained in:
parent
0d80363240
commit
cd72883fc7
@ -148,7 +148,7 @@ function(WidgetManager, _, Backbone){
|
||||
}
|
||||
|
||||
// Delete any key value pairs that the back-end already knows about.
|
||||
var attrs = (method === 'patch') ? model.changed : model.toJSON(options);
|
||||
var attrs = (method === 'patch') ? options.attrs : model.toJSON(options);
|
||||
if (this.key_value_lock !== null) {
|
||||
var key = this.key_value_lock[0];
|
||||
var value = this.key_value_lock[1];
|
||||
|
Loading…
Reference in New Issue
Block a user