Changeset 493 for Dev/trunk/src/client/qed-client/model/widgets/questions/MultipleChoiceInputConfigWidget.js
- Timestamp:
- 03/09/14 19:25:40 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/src/client/qed-client/model/widgets/questions/MultipleChoiceInputConfigWidget.js
r490 r493 52 52 _getValueAttr: function() { 53 53 var value = this.inherited(arguments); 54 value.allowMultiple = value.allowMultiple && value.allowMultiple.length > 0;54 value.allowMultiple = value.allowMultiple.length > 0; 55 55 value.type = this.type; 56 56 return value; 57 },58 _setValueAttr: function(value) {59 value.allowMultiple = value.allowMultiple === true ? ["on"] : [];60 this.inherited(arguments);61 57 }, 62 58 onAddItem: function(evt) {
Note: See TracChangeset
for help on using the changeset viewer.