Bug #23647 » rtehtmlarea_bugfix_15858_trunk.patch
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) {
|