##// END OF EJS Templates
Added on_bulk_change method in WidgetModel
sylvain.corlay -
Show More
@@ -264,6 +264,14 b' define(["widgets/js/manager",'
264 }
264 }
265 },
265 },
266
266
267 on_bulk_change: function(keys, callback, context) {
268 this.on('change', function() {
269 if (keys.some(this.hasChanged, this)) {
270 callback.apply(context);
271 }
272 }, this);
273
274 },
267 });
275 });
268 widgetmanager.WidgetManager.register_widget_model('WidgetModel', WidgetModel);
276 widgetmanager.WidgetManager.register_widget_model('WidgetModel', WidgetModel);
269
277
General Comments 0
You need to be logged in to leave comments. Login now