Ignore:
Timestamp:
03/09/14 14:23:42 (11 years ago)
Author:
hendrikvanantwerpen
Message:
  • Enable/disable buttons on content change.
  • One place to do date formatting, because it was going wrong again.
  • Serialize questions in survey properly.
  • _ComplexValueMixin consumes submit events, but does trigger outer forms if present.
  • Trigger dialog show/hide for login only after previous effect is finished.
  • Check that documents are actually valid, not just that validator returned a result.
  • Validate email and timestamp formats.
  • Prepared for live runs.
File:
1 edited

Legend:

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

    r457 r492  
    1212                endDateBox.constraints.min  = value;
    1313            });
     14        },
     15        _getValueAttr: function() {
     16            var value = this.inherited(arguments);
     17            if ( !value.startDate ) { delete value.startDate; }
     18            if ( !value.endDate ) { delete value.endDate; }
     19            value.respondentCanDeleteOwnResponse = value.respondentCanDeleteOwnResponse[0] === true;
     20            return value;
    1421        }
    1522    });
Note: See TracChangeset for help on using the changeset viewer.