Changeset 500 for Dev/trunk/src/client/qed-client/pages/surveyRun.js
- Timestamp:
- 03/10/14 16:07:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/src/client/qed-client/pages/surveyRun.js
r498 r500 29 29 this._load(); 30 30 }, 31 _refresh: function() { 32 this.surveySummaryWidget.set('value',this.object.survey,null); 33 this.surveyRunWidget.set('value',this.object,null); 34 this._internalRefresh(); 35 this._loadResponses(); 36 }, 37 _internalRefresh: function() { 31 _refresh: function(initial) { 32 if ( initial === true ) { 33 this.surveySummaryWidget.set('value',this.object.survey,null); 34 this.surveyRunWidget.set('value',this.object,null); 35 this._loadResponses(); 36 } 38 37 this.titleNode.innerHTML = this.object.title || ""; 39 38 if ( this.object.mode === "open" ) { … … 77 76 this._updateObject(); 78 77 this.markDirty(); 79 this._ internalRefresh();78 this._refresh(); 80 79 }, 81 80 _buildGeneralURL: function(surveyRun) {
Note: See TracChangeset
for help on using the changeset viewer.