rem: if (!isNested || allDisplayed) { 
add: if (HTMLArea.is_wamcom) { 
context: HTMLArea.prototype._initEditMode = function () {		// We can't set designMode when we are in a hidden TYPO3 tab		// Then we will set it when the tab comes in the front.	var isNested = false;	var allDisplayed = true;	if (this.nested.sorted && this.nested.sorted.length) {		isNested = true;		allDisplayed = HTMLArea.allElementsAreDisplayed(this.nested.sorted);	}	if (!HTMLArea.is_wamcom) {		try {			if (!isNested || allDisplayed) this._doc.designMode = "on";		} catch(e) { }	} else {		try { 			this._doc.designMode = "on"; 		} catch(e) {			if (!isNested || allDisplayed) {				this._doc.open();				this._doc.close();				this._initIframeTimer = window.setTimeout("HTMLArea.initIframe(" + this._editorNumber + ");", 500);				return false;			}		}	}		// When the TYPO3 TCA feature div2tab is used, the editor iframe may become hidden with style.display = "none"		// This breaks the editor in Mozilla/Firefox browsers: the designMode attribute needs to be resetted after the style.display of the containing div is resetted to "block"		// Here we rely on TYPO3 naming conventions for the div id and class name	if (this.nested.sorted && this.nested.sorted.length) {		var nestedObj, listenerFunction;		for (var i=0, length=this.nested.sorted.length; i < length; i++) {			nestedObj = document.getElementById(this.nested.sorted[i]);			listenerFunction = HTMLArea.NestedListener(this, nestedObj, false);			HTMLArea._addEvent(nestedObj, 'DOMAttrModified', listenerFunction);		}	}	if (this._doc.queryCommandEnabled("insertbronreturn")) this._doc.execCommand("insertbronreturn", false, this.config.disableEnterParagraphs);	if (this._doc.queryCommandEnabled("styleWithCSS")) this._doc.execCommand("styleWithCSS", false, this.config.useCSS);		else if (this._doc.queryCommandEnabled("useCSS")) this._doc.execCommand("useCSS", false, !this.config.useCSS);	return true;};
meta: 9100	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9100/0746950683b2d66fabc827620d416506f7107c1d/htmlarea-gecko.js/buggy/typo3/sysext/rtehtmlarea/htmlarea/htmlarea-gecko.js