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/classes/responses.js

    r490 r492  
    66    "dojo/_base/json",
    77    "dojo/_base/lang",
    8     "dojo/_base/xhr",
    9     "dojo/date/stamp"
    10 ], function(_Class, surveyRuns, Deferred, declare, json, lang, xhr, stamp) {
     8    "dojo/_base/xhr"
     9], function(_Class, surveyRuns, Deferred, declare, json, lang, xhr) {
    1110
    1211    var Responses = declare([_Class],{
     
    2625            }
    2726            if (obj.publicationDate) {
    28                 obj.publicationDate = stamp.fromISOString(obj.publicationDate);
     27                obj.publicationDate = this._parseDate(obj.publicationDate);
    2928            }
    3029        },
     
    3433            }
    3534            if (obj.publicationDate) {
    36                 obj.publicationDate = stamp.toISOString(obj.publicationDate);
     35                obj.publicationDate = this._formatDate(obj.publicationDate);
    3736            }
    3837        },
Note: See TracChangeset for help on using the changeset viewer.