Changeset 500 for Dev/trunk/src/client/qed-client/pages/question.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/question.js
r498 r500 23 23 this._load(); 24 24 }, 25 _refresh: function() { 26 this.propertiesForm.set('value',this.object,null); 27 this.contentList.set('value',this.object.content,null); 28 this._internalRefresh(); 29 }, 30 _internalRefresh: function(){ 25 _refresh: function(initial) { 26 if ( initial === true ) { 27 this.propertiesForm.set('value',this.object,null); 28 this.contentList.set('value',this.object.content,null); 29 } 31 30 this.titleNode.innerHTML = this.object.title || ""; 32 31 }, … … 34 33 this._updateObject(); 35 34 this.markDirty(); 36 this._ internalRefresh();35 this._refresh(); 37 36 }, 38 37 _handleContentChange: function() { 39 38 this._updateObject(); 40 39 this.markDirty(); 41 this._ internalRefresh();40 this._refresh(); 42 41 }, 43 42 _updateObject: function() {
Note: See TracChangeset
for help on using the changeset viewer.