Ignore:
Timestamp:
03/09/14 19:25:40 (11 years ago)
Author:
hendrikvanantwerpen
Message:
  • _ComplexValueMixin propagates priorityChange to children.
  • Deserialize updated docs after save too.
  • Validate to false if definitions are missing.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/src/client/qed-client/model/widgets/questions/MultipleChoiceInputConfigWidget.js

    r490 r493  
    5252        _getValueAttr: function() {
    5353            var value = this.inherited(arguments);
    54             value.allowMultiple = value.allowMultiple && value.allowMultiple.length > 0;
     54            value.allowMultiple = value.allowMultiple.length > 0;
    5555            value.type = this.type;
    5656            return value;
    57         },
    58         _setValueAttr: function(value) {
    59             value.allowMultiple = value.allowMultiple === true ? ["on"] : [];
    60             this.inherited(arguments);
    6157        },
    6258        onAddItem: function(evt) {
Note: See TracChangeset for help on using the changeset viewer.