Changeset 491 for Dev/trunk/src/client/qed-client/pages/survey.js
- Timestamp:
- 03/08/14 23:48:08 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/src/client/qed-client/pages/survey.js
r490 r491 58 58 _refresh: function() { 59 59 this.titleNode.innerHTML = this.object.title || "(set title in properties)"; 60 this.propertiesDialog.set('value', this.object);60 this.propertiesDialog.set('value',{survey:this.object}); 61 61 this.questionList.set('value', 62 62 this.object.questions); … … 76 76 _onPropertiesOk: function(evt) { 77 77 this.propertiesDialog.hide(); 78 lang.mixin(this.object, this.propertiesDialog.get('value') );78 lang.mixin(this.object, this.propertiesDialog.get('value').survey); 79 79 this.markDirty(); 80 80 this._refresh(); … … 84 84 _onPropertiesCancel: function(evt) { 85 85 this.propertiesDialog.hide(); 86 this.propertiesDialog.set('value', this.object);86 this.propertiesDialog.set('value',{survey:this.object}); 87 87 if ( evt ) { event.stop(evt); } 88 88 return false;
Note: See TracChangeset
for help on using the changeset viewer.