Show More
@@ -42,6 +42,12 b' define(["notebook/js/widget"], function(widget_manager){' | |||||
42 | this.$el.html(description); |
|
42 | this.$el.html(description); | |
43 | } |
|
43 | } | |
44 |
|
44 | |||
|
45 | if (this.model.get('disabled')) { | |||
|
46 | this.$el.attr('disabled','disabled'); | |||
|
47 | } else { | |||
|
48 | this.$el.removeAttr('disabled'); | |||
|
49 | } | |||
|
50 | ||||
45 | return IPython.WidgetView.prototype.update.call(this); |
|
51 | return IPython.WidgetView.prototype.update.call(this); | |
46 | }, |
|
52 | }, | |
47 |
|
53 |
General Comments 0
You need to be logged in to leave comments.
Login now