I am running a Dutch language site (amongst many other languages), and on certain pages the javascript generated at the bottom of the page produces this:

var submitted__Jouw commentaar = null;
var submitted__Jouw commentaar = null;
start_editor = function() {
  attacheditor(submitted__Jouw commentaar, 'submitted][Jouw commentaar');
  attacheditor(submitted__Jouw commentaar, 'submitted][Jouw commentaar');

This of course is bad code (a space in the variable name). I have two problems:
1) As a general rule, I cannot see why HTMLarea is generating jscript on a page where there is no HTMLarea box.
2) The error then causes my other javascript code (jsdomenu) to go belly-up.

On an English language only site, I am getting this error reported in the Firefox Javascript console: "textarea has no properties" in line 93 of xinha/htmlarea.js, which is:

      w: textarea.style.width ? textarea.style.width : textarea.offsetWidth,

The version of xinha in the js file is

    --  $HeadURL: http://svn.xinha.python-hosting.com/trunk/htmlarea.js $
    --  $LastChangedDate: 2005-05-20 03:28:30 +1200 (Fri, 20 May 2005) $
    --  $LastChangedRevision: 177 $
    --  $LastChangedBy: gogo $

This is a critical error for me as it is really mucking up the jscript from jsdomenu

Comments

gordon’s picture

fixed in cvs

gordon’s picture

Assigned: Unassigned » gordon
Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)