##// END OF EJS Templates
Remove residual tabs
Jonathan Frederic -
Show More
@@ -193,9 +193,9 b' function(WidgetManager, Underscore, Backbone){'
193 193 },
194 194
195 195 save_changes: function(callbacks) {
196 // Push this model's state to the back-end
197 //
198 // This invokes a Backbone.Sync.
196 // Push this model's state to the back-end
197 //
198 // This invokes a Backbone.Sync.
199 199 this.save(this.changedAttributes(), {patch: true, callbacks: callbacks});
200 200 },
201 201
@@ -256,11 +256,11 b' function(WidgetManager, Underscore, Backbone){'
256 256 //
257 257 // -given a model and (optionally) a view name if the view name is
258 258 // not given, it defaults to the model's default view attribute.
259
259
260 260 // TODO: this is hacky, and makes the view depend on this cell attribute and widget manager behavior
261 // it would be great to have the widget manager add the cell metadata
262 // to the subview without having to add it here.
263 options = options || {};
261 // it would be great to have the widget manager add the cell metadata
262 // to the subview without having to add it here.
263 options = options || {};
264 264 options.cell = this.options.cell;
265 265 var child_view = this.model.widget_manager.create_view(child_model, options);
266 266 this.child_views[child_model.id] = child_view;
General Comments 0
You need to be logged in to leave comments. Login now