rem: this.domNode.innerHTML = this._content; } } else { while (this.savedContent.hasChildNodes()) { this.domNode.appendChild(this.savedContent.firstChild); 
add: this.domNode.innerHTML = this.savedContent; 
context: 		close: function(/*Boolean*/save, /*Boolean*/force){			// summery:			//		Kills the editor and optionally writes back the modified contents to the			//		element from which it originated.			// save:			//		Whether or not to save the changes. If false, the changes are discarded.			// force:			if(this.isClosed){return false; }			if (arguments.length == 0) { save = true; }			this._content = this._postFilterContent(this.editNode.innerHTML);			var changed = (this.savedContent.innerHTML != this._content);			// line height is squashed for iframes			// FIXME: why was this here? if (this.iframe){ this.domNode.style.lineHeight = null; }			if(this.interval){ clearInterval(this.interval); }			if(dojo.render.html.ie && !this.object){				dojo.event.browser.clean(this.editNode);			}			if (this.iframe) {				// FIXME: should keep iframe around for later re-use				delete this.iframe;			}			if(this.textarea){				with(this.textarea.style){					position = "";					left = top = "";					if(dojo.render.html.ie){						overflow = this.__overflow;						this.__overflow = null;					}				}				this.domNode.parentNode.removeChild(this.domNode);				this.domNode = this.textarea;			}else{				this.domNode.innerHTML = "";			}			if(save){				// kill listeners on the saved content				dojo.event.browser.clean(this.savedContent);				if(dojo.render.html.moz){					var nc = dojo.doc().createElement("span");					this.domNode.appendChild(nc);					nc.innerHTML = this.editNode.innerHTML;				}else{					this.domNode.innerHTML = this._content;				}			} else {				while (this.savedContent.hasChildNodes()) {					this.domNode.appendChild(this.savedContent.firstChild);				}			}			delete this.savedContent;			dojo.html.removeClass(this.domNode, "RichTextEditable");			this.isClosed = true;			this.isLoaded = false;			// FIXME: is this always the right thing to do?			delete this.editNode;			if(this.window._frameElement){				this.window._frameElement = null;			}			this.window = null;			this.document = null;			this.object = null;			this.editingArea = null;			this.editorObject = null;			return changed; // Boolean: whether the content has been modified		},
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/RichText.js/buggy/www/resources/dojo-ajax/src/widget/RichText.js