Changeset 417 for Dev/branches/rest-dojo-ui/client/rft/pages/survey.js
- Timestamp:
- 12/09/12 16:49:22 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/rft/pages/survey.js
r416 r417 8 8 '../store', 9 9 '../app/Page', 10 '../ ui/lists/QuestionListView',11 '../ ui/TabbedQuestionBrowser',12 'dojo/text!./ survey.html'10 '../model/widgets/QuestionListView', 11 '../model/widgets/TabbedQuestionBrowser', 12 'dojo/text!./templates/survey.html' 13 13 ],function(array,declare,Deferred,event,lang,Router,store,Page, 14 14 QuestionListView,TabbedQuestionBrowser,template){ … … 81 81 refresh: function() { 82 82 this.titleNode.innerHTML = this.survey.title || "(set title in properties)"; 83 this.properties Form.set('value',this.survey);83 this.propertiesDialog.set('value',this.survey); 84 84 }, 85 85 _onShowProperties: function(evt) { … … 88 88 _onPropertiesOk: function(evt) { 89 89 this.propertiesDialog.hide(); 90 lang.mixin(this.survey, this.properties Form.get('value'));90 lang.mixin(this.survey, this.propertiesDialog.get('value')); 91 91 this.refresh(); 92 92 event.stop(evt); … … 95 95 _onPropertiesCancel: function(evt) { 96 96 this.propertiesDialog.hide(); 97 this.properties Form.set('value',this.survey);97 this.propertiesDialog.reset('value',this.survey); 98 98 event.stop(evt); 99 99 return false;
Note: See TracChangeset
for help on using the changeset viewer.