Project

General

Profile

Bug #23647 » rtehtmlarea_bugfix_15858_trunk.patch

Administrator Admin, 2010-09-29 21:22

View differences:

typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail)
if (Ext.isIE) {
try { rules = this.document.styleSheets[0].rules; } catch(e) { stylesAreLoaded = false; errorText = e; }
} else {
try { rules = this.document.styleSheets[0].cssRules; } catch(e) { stylesAreLoaded = false; errorText = e; }
try { this.document.styleSheets[0] && this.document.styleSheets[0].cssRules; } catch(e) { stylesAreLoaded = false; errorText = e; }
}
// Then test if all stylesheets are accessible
if (stylesAreLoaded) {
(1-1/4)