Changeset 388 for Dev/branches/rest-dojo-ui/client/rft/ui
- Timestamp:
- 07/30/12 01:19:12 (13 years ago)
- Location:
- Dev/branches/rest-dojo-ui/client/rft/ui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/rft/ui/QuestionEditorPreview.js
r387 r388 4 4 'dojo/dnd/Source', 5 5 'dojo/dom-construct', 6 'dijit/_Container', 7 'dijit/_TemplatedMixin', 8 'dijit/_WidgetBase', 9 'dijit/_WidgetsInTemplateMixin', 6 'dijit/layout/ContentPane', 10 7 'rft/ui/QuestionEditorPreviewItem', 11 8 'dojo/text!./templates/QuestionEditorPreview.html' 12 ], function(declare, lang, Source, domConstruct, _Container, _TemplatedMixin, _WidgetBase, _WidgetsInTemplateMixin, QuestionEditorPreviewItem, template) {13 return declare("rft.ui.QuestionEditorPreview", [ _WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin, _Container], {9 ], function(declare, lang, Source, domConstruct, ContentPane, QuestionEditorPreviewItem, template) { 10 return declare("rft.ui.QuestionEditorPreview", [ContentPane], { 14 11 15 12 templateString: template, 13 'class': 'surveyEditorPreview', 16 14 dndSource: null, 17 15 18 postCreate: function(){16 startup: function(){ 19 17 this.inherited(arguments); 20 this.dndSource = new Source(this.d ndSourceNode, {18 this.dndSource = new Source(this.domNode, { 21 19 accept: ["questionContent"], 22 20 skipForm: true, -
Dev/branches/rest-dojo-ui/client/rft/ui/templates/QuestionEditorPreview.html
r366 r388 1 <div> 2 <div data-dojo-attach-point="windowNode" class="surveyEditorPreview"> 3 <div data-dojo-attach-point="dndSourceNode" class="surveyEditorPreviewSource"> 4 </div> 5 </div> 1 <div class="surveyEditorPreview"> 6 2 </div>
Note: See TracChangeset
for help on using the changeset viewer.