Changeset 434 for Dev/trunk/client/qed/model/widgets
- Timestamp:
- 04/23/13 17:33:48 (12 years ago)
- Location:
- Dev/trunk/client/qed/model/widgets
- Files:
-
- 3 added
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/client/qed/model/widgets/ScaleWidget.js
r433 r434 33 33 }, 34 34 _renderHead: function() { 35 this.minNode.innerHTML = this.minLabel || ""; 36 this.maxNode.innerHTML = this.maxLabel || ""; 37 if ( this.naLabel !== null ) { 38 this.naNode.innerHTML = this.naLabel; 39 } 35 40 for (var i = this.min; i <= this.max; i++) { 36 41 domConstruct.create("th", { 37 42 innerHTML: i.toString() 38 }, this.rangeNode, "after"); 39 } 40 if ( this.naLabel !== null ) { 41 this.naNode.innerHTML = this.naLabel; 43 }, this.minNode, "after"); 42 44 } 43 45 }, -
Dev/trunk/client/qed/model/widgets/templates/ScaleWidget.html
r433 r434 4 4 <tr> 5 5 <th class="item"></th> 6 <th data-dojo-attach-point=" rangeNode" class="min"></th>7 <th class="max"></th>6 <th data-dojo-attach-point="minNode" class="min"></th> 7 <th data-dojo-attach-point="maxNode" class="max"></th> 8 8 <th class="na" data-dojo-attach-point="naNode"></th> 9 9 </tr>
Note: See TracChangeset
for help on using the changeset viewer.