Show More
@@ -46,6 +46,9 require(["notebook/js/widget"], function(){ | |||
|
46 | 46 | this.$textbox.val(this.model.get('value')); |
|
47 | 47 | } |
|
48 | 48 | |
|
49 | var disabled = this.model.get('disabled'); | |
|
50 | this.$textbox.prop('disabled', disabled); | |
|
51 | ||
|
49 | 52 | var description = this.model.get('description'); |
|
50 | 53 | if (description.length == 0) { |
|
51 | 54 | this.$label.hide(); |
@@ -96,6 +99,9 require(["notebook/js/widget"], function(){ | |||
|
96 | 99 | this.$textbox.val(this.model.get('value')); |
|
97 | 100 | } |
|
98 | 101 | |
|
102 | var disabled = this.model.get('disabled'); | |
|
103 | this.$textbox.prop('disabled', disabled); | |
|
104 | ||
|
99 | 105 | var description = this.model.get('description'); |
|
100 | 106 | if (description.length == 0) { |
|
101 | 107 | this.$label.hide(); |
General Comments 0
You need to be logged in to leave comments.
Login now