Ignore:
Timestamp:
03/11/14 22:45:58 (11 years ago)
Author:
hendrikvanantwerpen
Message:
  • Added subcodes to schema and config widgets.
  • Disallow empty strings in schema and strip objects before sending them to the server.
  • Finally managed proper change events in lists and complexvalues.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/src/client/qed-client/pages/surveyRun.js

    r500 r506  
    33    "../app/Path",
    44    "../app/Router",
    5     "../lib/func",
    65    "../model/classes/responses",
    76    "../model/classes/surveyRuns",
     
    1716    "require",
    1817    "dojo/text!./templates/surveyRun.html"
    19 ], function(Content, Path, Router, func, responses, surveyRuns, surveys, LineWithActionsWidget, _ObjectPage, Deferred, array, declare, event, lang, when, require, template) {
     18], function(Content, Path, Router, responses, surveyRuns, surveys, LineWithActionsWidget, _ObjectPage, Deferred, array, declare, event, lang, when, require, template) {
    2019    return declare([_ObjectPage],{
    2120        contextRequire: require,
     
    9190                return this.inherited(arguments);
    9291            } else {
    93                 return new Deferred.reject();
     92                return new Deferred().reject({error:"Please correct invalid values."});
    9493            }
    9594        },
Note: See TracChangeset for help on using the changeset viewer.