Changeset 392
- Timestamp:
- 08/08/12 13:33:58 (13 years ago)
- Location:
- Dev/branches/rest-dojo-ui/client/rft
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/rft/pages/survey.js
r389 r392 27 27 .then(lang.hitch(this,function(obj){ 28 28 this.survey = obj; 29 store.query(null,{keys:this.survey.questions,include_docs:true}) 30 .forEach(lang.hitch(this.questionList,'appendItem')); 29 31 this.refresh(); 30 32 })); … … 66 68 this.titleNode.innerHTML = this.survey.title || "(set title in properties)"; 67 69 this.propertiesForm.set('value',this.survey); 68 store.query(null,{keys:this.survey.questions,include_docs:true})69 .forEach(lang.hitch(this.questionList,'appendItem'));70 70 }, 71 71 _onShowProperties: function(evt) { -
Dev/branches/rest-dojo-ui/client/rft/ui/QuestionEditorPreview.js
r389 r392 10 10 baseClass: 'surveyEditorPreview', 11 11 type: 'questionContent', 12 withHandles: true, 12 13 13 14 _createAvatarNode: function(item) { -
Dev/branches/rest-dojo-ui/client/rft/ui/QuestionEditorPreviewItem.js
r389 r392 46 46 this.innerWidget.startup(); 47 47 } 48 this.titleNode.innerHTML = "[preview]";48 this.titleNode.innerHTML = this.item.type+" [preview]"; 49 49 }, 50 50 _showEditWidget: function() { … … 55 55 this.innerWidget.startup(); 56 56 } 57 this.titleNode.innerHTML = "[editing]";57 this.titleNode.innerHTML = this.item.type+" [editing]"; 58 58 }, 59 59 onClose: function() {}, -
Dev/branches/rest-dojo-ui/client/rft/ui/lists/List.js
r389 r392 25 25 removeCallback: null, 26 26 type: 'text', 27 withHandles: false, 27 28 source: null, 28 29 … … 37 38 accept: [this.type], 38 39 singular: true, 40 withHandles: this.withHandles, 39 41 creator: lang.hitch(this, this._createNode) 40 42 }); -
Dev/branches/rest-dojo-ui/client/rft/ui/templates/QuestionEditorPreviewItem.html
r376 r392 1 1 <div class="inheritBgColor light"> 2 <div class="topBorder inheritBgColor light " data-dojo-attach-point="topBorderNode">2 <div class="topBorder inheritBgColor light dojoDndHandle" data-dojo-attach-point="topBorderNode"> 3 3 <span class="title" data-dojo-attach-point="titleNode">Default title</span> 4 4 <span class="floatRight">
Note: See TracChangeset
for help on using the changeset viewer.