Changeset 13577

Show
Ignore:
Timestamp:
05/05/08 13:31:37 (7 months ago)
Author:
peller
Message:

Fixes #6376 on 1.1 branch only, to defer setValue if editor is still loading. No longer a problem on trunk after Alex's refactor (see #6582)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.1/dijit/_editor/RichText.js

    r13552 r13577  
    12401240                        this._preDomFilterContent(node); 
    12411241                } 
     1242 
     1243                if(!this.isLoaded){ 
     1244                        // try again after the editor is finished loading 
     1245                        this.onLoadDeferred.addCallback(dojo.hitch(this, function(){ 
     1246                                this.setValue(html); 
     1247                        })); 
     1248                } 
     1249 
    12421250                this.onDisplayChanged(); 
    12431251        },