Ignore:
Timestamp:
07/25/12 16:04:02 (13 years ago)
Author:
jkraaijeveld
Message:

Started the QuestionEditorPreview? bit - now works with headers and texts, fully stores and restores this in order properly.

Note: there must be a better way for this, but seeing as all content pieces can differ greatly I couldn't think of a way to make it properly generic. @Hendrik: need discussion about this.

Note2: Currently I don't use any internal events in the question editor. Not sure if it would be a lot better we would.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/client/rft/ui/QuestionEditorToolkit.js

    r375 r376  
    134134                                        objectData: {
    135135                                                _id: null,
    136                                                 widgetType: "rft.surveyContent.HeaderDialog",
     136                                                type: "HeaderItem",
    137137                                                widgetProps: {}
    138138                                        },
     
    143143                                        objectData: {
    144144                                                _id: null,
    145                                                 widgetType: "rft.surveyContent.TextDialog",
     145                                                type: "TextItem",
    146146                                                widgetProps: {}
    147147                                        },
Note: See TracChangeset for help on using the changeset viewer.