[TYPO3] HTMLArea not working in Firefox after update (2.0.0.3)

Denyer Ec denyerec at gmail.com
Thu Mar 22 12:42:02 CET 2007


Couldn't seem to get this working, couldn't find the file
rhtmlarea.js, only a series of files called htmlarea.js...

Any clarification on where I should be looking?


On 3/22/07, Tobias Erlacher <tobi at 54tec.com> wrote:
> Good morning,
>
> i posted a fix for this on http://bugs.typo3.org/view.php?id=4870.
>
> The error is there because the browser detection of rtehtmlarea does not
> work right in this case.
> On https://bugzilla.mozilla.org/show_bug.cgi?id=374738 [^] the firefox
> developers showed that by changing the browser identification it can be
> fixed.
> the problem lies in rtehtmlarea.js in line 85:
> HTMLArea.is_wamcom = (HTMLArea.agt.indexOf("wamcom") != -1) ||
> (HTMLArea.is_gecko && (HTMLArea.agt.indexOf("1.3") != -1));
>
> here the index of 1.3 is true because of "rv:1.8.1.3".
>
> a quick fix is changing the line to
> HTMLArea.is_wamcom = (HTMLArea.agt.indexOf("wamcom") != -1) ||
> (HTMLArea.is_gecko && ((HTMLArea.agt.indexOf("1.3") !=
> -1)&&(HTMLArea.agt.indexOf("1.8.1.3") == -1)));
>
> have fun
>
> tobias erlacher
> www.typo3wizard.com
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


-- 
-------
http://gallery.denyerec.co.uk


More information about the TYPO3-english mailing list