Changeset 427 for Dev/trunk/client/qed/widgets/MultipleChoiceWidget.js
- Timestamp:
- 04/10/13 16:30:06 (12 years ago)
- Location:
- Dev/trunk/client/qed
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/client/qed
-
Property
svn:ignore
set to
node_modules
-
Property
svn:ignore
set to
-
Dev/trunk/client/qed/widgets/MultipleChoiceWidget.js
r426 r427 44 44 }, 45 45 _addRow: function(value,tagRow,pos) { 46 var row = domConstruct.create('div',{ 'class':'row'});46 var row = domConstruct.create('div',{className:'row'}); 47 47 if ( this.allowMultiple ) { 48 48 new CheckBox({ 49 49 name:this.name, 50 'class':'rowBox',50 className:'rowBox', 51 51 disabled: this.mode === 'edit' 52 52 }).placeAt(row); … … 54 54 new RadioButton({ 55 55 name:this.name, 56 'class':'rowBox',56 className:'rowBox', 57 57 disabled: this.mode === 'edit' 58 58 }).placeAt(row); … … 61 61 name:this.name, 62 62 value:value || '', 63 'class':'rowText'63 className:'rowText' 64 64 }).placeAt(row); 65 65 new Button({ 66 66 label:'-', 67 'class':'rowBtn',67 className:'rowBtn', 68 68 onClick:lang.hitch(this,'_removeNodeWithWidgets',row) 69 69 }).placeAt(row); 70 70 new Button({ 71 71 label:'+', 72 'class':'rowBtn',72 className:'rowBtn', 73 73 onClick:lang.hitch(this,'_addRow','',row,'before') 74 74 }).placeAt(row);
Note: See TracChangeset
for help on using the changeset viewer.