Changeset 511 for Dev/trunk/src/server


Ignore:
Timestamp:
03/13/14 00:44:08 (11 years ago)
Author:
hendrikvanantwerpen
Message:
  • Added open item options to singe and multiple choice.
  • Question view widgets are forms again, because we needed the control.
  • Multiple and singel choice share their widgets.
  • QuestionEditorPreview? now has items that were already there close, but opens newly dropped items.
  • PreviewItems? will save modified value even when we change to view before the widget loses its focus (which causes a change event).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/src/server/config/couchdb-schema.json

    r510 r511  
    214214              "additionalProperties": false
    215215          } },
    216           "otherItem": {
    217               "type": "object",
    218               "properties": {
    219                   "text": { "$ref": "#/definitions/nonEmptyString" },
    220                   "value": { "$ref": "#/definitions/nonEmptyString" }
    221               },
    222               "required": ["subcode","value"],
     216          "lastItemIsOpen": {
     217              "type": "object",
     218              "properties": {
     219                  "subcode": { "$ref": "#/definitions/codeString" }
     220              },
     221              "required": ["subcode"],
    223222              "additionalProperties": false
    224223          },
     
    235234              "type": "object",
    236235              "properties": {
    237                   "subcode": { "$ref": "#/definitions/codeString" },
    238                   "text": { "$ref": "#/definitions/nonEmptyString" }
     236                "subcode": { "$ref": "#/definitions/codeString" },
     237                "text": { "$ref": "#/definitions/nonEmptyString" }
    239238              },
    240239              "required": ["subcode","text"],
    241240              "additionalProperties": false
    242241          } },
    243           "otherItem": {
    244               "type": "object",
    245               "properties": {
    246                   "subcode": { "$ref": "#/definitions/codeString" },
    247                   "text": { "$ref": "#/definitions/nonEmptyString" }
    248               },
    249               "required": ["subcode","text"],
     242          "lastItemIsOpen": {
     243              "type": "object",
     244              "properties": {
     245                "subcode": { "$ref": "#/definitions/codeString" }
     246              },
     247              "required": ["subcode"],
    250248              "additionalProperties": false
    251249          }
Note: See TracChangeset for help on using the changeset viewer.