##// END OF EJS Templates
Remove view.show
Jonathan Frederic -
Show More
@@ -425,16 +425,6 b' define(["widgets/js/manager",'
425 */
425 */
426 },
426 },
427
427
428 show: function(){
429 /**
430 * Show the widget-area
431 */
432 if (this.options && this.options.cell &&
433 this.options.cell.widget_area !== undefined) {
434 this.options.cell.widget_area.show();
435 }
436 },
437
438 send: function (content) {
428 send: function (content) {
439 /**
429 /**
440 * Send a custom msg associated with this view.
430 * Send a custom msg associated with this view.
@@ -472,7 +462,6 b' define(["widgets/js/manager",'
472 * Public constructor
462 * Public constructor
473 */
463 */
474 DOMWidgetView.__super__.initialize.apply(this, [parameters]);
464 DOMWidgetView.__super__.initialize.apply(this, [parameters]);
475 this.on('displayed', this.show, this);
476 this.model.on('change:visible', this.update_visible, this);
465 this.model.on('change:visible', this.update_visible, this);
477 this.model.on('change:_css', this.update_css, this);
466 this.model.on('change:_css', this.update_css, this);
478
467
General Comments 0
You need to be logged in to leave comments. Login now