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/server/config/couchdb-design-docs.js

    r487 r492  
    125125    },
    126126
     127    "qed/_design/surveyRuns": {
     128        __configAction: "replace",
     129        _id: "_design/surveys",
     130        language: "javascript",
     131        views: {
     132            by_dates: {
     133                map: function(doc){
     134                    if ( doc.type !== 'SurveyRun' ) { return; }
     135                    var startDate = doc.startDate || "";
     136                    var endDate = doc.endDate || {};
     137                    emit([startDate,endDate,doc.liveName||null],doc);
     138                }
     139            }
     140        }
     141    },
     142
    127143    "qed/_design/responses": {
    128144        __configAction: "replace",
Note: See TracChangeset for help on using the changeset viewer.