rem: if (!(inTYPO3Tab && DTMDiv.style.display == "none")) { 
add: if (!isNested || allDisplayed) { 
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 inTYPO3Tab = false;	var DTMDiv = this._textArea;	while (DTMDiv && (DTMDiv.nodeType == 1) && (DTMDiv.tagName.toLowerCase() != "body")) {		if (DTMDiv.tagName.toLowerCase() == "div" && DTMDiv.id.indexOf("DTM-") != -1 && DTMDiv.id.indexOf("-DIV") != -1 && DTMDiv.className == "c-tablayer") {			inTYPO3Tab = true;			break;		} else {			DTMDiv = DTMDiv.parentNode;		}	}	if (!HTMLArea.is_wamcom) {		try {			if (!(inTYPO3Tab && DTMDiv.style.display == "none")) this._doc.designMode = "on";		} catch(e) { }	} else {		try { 			this._doc.designMode = "on"; 		} catch(e) {			if (!(inTYPO3Tab && DTMDiv.style.display == "none")) {				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 (inTYPO3Tab) HTMLArea._addEvent(DTMDiv, "DOMAttrModified", HTMLArea.DTMDivHandler(this, DTMDiv));	return true;};
meta: 9100	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9100/443e58fd2f08b328380d1484dcf63e8bd3e13d5e/htmlarea-gecko.js/clean/typo3/sysext/rtehtmlarea/htmlarea/htmlarea-gecko.js