Ignore:
Timestamp:
03/10/14 16:07:00 (11 years ago)
Author:
hendrikvanantwerpen
Message:
  • Indicate of refresh is due to load or due to save in _ObjectPage.
  • _ComplexValueMixin & ListWidget? catch all change events and drops them if still being created.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/src/client/qed-client/pages/question.js

    r498 r500  
    2323            this._load();
    2424        },
    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            }
    3130            this.titleNode.innerHTML = this.object.title || "";
    3231        },
     
    3433            this._updateObject();
    3534            this.markDirty();
    36             this._internalRefresh();
     35            this._refresh();
    3736        },
    3837        _handleContentChange: function() {
    3938            this._updateObject();
    4039            this.markDirty();
    41             this._internalRefresh();
     40            this._refresh();
    4241        },
    4342        _updateObject: function() {
Note: See TracChangeset for help on using the changeset viewer.