Show More
@@ -409,9 +409,11 define(["widgets/js/manager", | |||||
409 | // Public constructor |
|
409 | // Public constructor | |
410 | DOMWidgetView.__super__.initialize.apply(this, arguments); |
|
410 | DOMWidgetView.__super__.initialize.apply(this, arguments); | |
411 | this.on('displayed', this.show, this); |
|
411 | this.on('displayed', this.show, this); | |
|
412 | ||||
412 | this.model.on('msg:custom', this.on_msg, this); |
|
413 | this.model.on('msg:custom', this.on_msg, this); | |
413 | this.model.on('change:visible', this.update_visible, this); |
|
414 | this.model.on('change:visible', this.update_visible, this); | |
414 | this.model.on('change:_css', this.update_css, this); |
|
415 | this.model.on('change:_css', this.update_css, this); | |
|
416 | ||||
415 | this.update_visible(this.model, this.model.get("visible")); |
|
417 | this.update_visible(this.model, this.model.get("visible")); | |
416 | this.update_css(this.model, this.model.get("_css")); |
|
418 | this.update_css(this.model, this.model.get("_css")); | |
417 | }, |
|
419 | }, |
General Comments 0
You need to be logged in to leave comments.
Login now