Changeset 13669
- Timestamp:
- 05/10/08 09:27:33 (8 months ago)
- Files:
-
- 1 modified
-
branches/1.1/dijit/_editor/RichText.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1/dijit/_editor/RichText.js
r13577 r13669 1232 1232 // summary: 1233 1233 // this function set the content. No undo history is preserved 1234 1235 if(!this.isLoaded){ 1236 // try again after the editor is finished loading 1237 this.onLoadDeferred.addCallback(dojo.hitch(this, function(){ 1238 this.setValue(html); 1239 })); 1240 return; 1241 } 1242 1234 1243 if(this.textarea && (this.isClosed || !this.isLoaded)){ 1235 1244 this.textarea.value=html; … … 1239 1248 node.innerHTML = html; 1240 1249 this._preDomFilterContent(node); 1241 }1242 1243 if(!this.isLoaded){1244 // try again after the editor is finished loading1245 this.onLoadDeferred.addCallback(dojo.hitch(this, function(){1246 this.setValue(html);1247 }));1248 1250 } 1249 1251