- Timestamp:
- 04/29/13 19:35:10 (12 years ago)
- Location:
- Dev/trunk/client/qed/model/widgets/questions
- Files:
-
- 1 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/client/qed/model/widgets/questions/ScaleInputWidget.js
r435 r441 1 1 define([ 2 "dijit/_Container", 3 "dijit/_TemplatedMixin", 4 "dijit/_WidgetBase", 2 "../../../widgets/_ComplexValueWidget", 5 3 "dijit/form/RadioButton", 6 "dijit/form/_FormMixin",7 4 "dojo/_base/array", 8 5 "dojo/_base/declare", … … 11 8 "dojo/dom-construct", 12 9 "dojo/text!./templates/ScaleInputWidget.html" 13 ], function(_Co ntainer, _TemplatedMixin, _WidgetBase, RadioButton, _FormMixin, array, declare, lang, domAttr, domConstruct, template) {14 return declare([_ WidgetBase,_TemplatedMixin,_Container,_FormMixin],{10 ], function(_ComplexValueWidget, RadioButton, array, declare, lang, domAttr, domConstruct, template) { 11 return declare([_ComplexValueWidget],{ 15 12 templateString: template, 16 13 baseClass: "qedScaleWidget", … … 41 38 domConstruct.create("th", { 42 39 innerHTML: i.toString() 43 }, this.m inNode, "after");40 }, this.maxNode, "before"); 44 41 } 45 42 }, … … 69 66 className: 'max' 70 67 }, tr); 71 if ( this.naLabel !== null ) {68 if ( this.naLabel !== null && this.naLabel !== "" ) { 72 69 td = domConstruct.create("td", {}, tr); 73 70 radio = new RadioButton({
Note: See TracChangeset
for help on using the changeset viewer.