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/surveyRun.js

    r498 r500  
    2929            this._load();
    3030        },
    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            }
    3837            this.titleNode.innerHTML = this.object.title || "";
    3938            if ( this.object.mode === "open" ) {
     
    7776            this._updateObject();
    7877            this.markDirty();
    79             this._internalRefresh();
     78            this._refresh();
    8079        },
    8180        _buildGeneralURL: function(surveyRun) {
Note: See TracChangeset for help on using the changeset viewer.