[opencms-dev] (6b2) Possible xml editor javascript bug

Jorge Gonzalez informatico at hotelparadisepark.com
Tue Apr 26 21:22:48 CEST 2005


Hi pals:

I've got a possible bug on the js code of the editor

Scenario:

1. On User preferences, select one language other than english
2. On XML content editor, there is a js error, this is the source of the
page

-----
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Input form</title>

<link rel=stylesheet type="text/css"
href="/cms/export/system/workplace/commons/style/workplace.css">

<script type="text/javascript"
src="/cms/resources/editors/xmlcontent/edit.js"></script>
<script type="text/javascript"
src="/cms/resources/editors/xmlcontent/help.js"></script>
<script type="text/javascript">
<!--
	_editor_url = "/cms/resources/editors/htmlarea/";
	_editor_lang = "en";
//-->

----blah-blah

This is the js error messages

FIRST ERROR

line: 23
char: 36
error: unfinished constant string ("constante de cadena sin terminar"
code: 0

SECOND ERROR

line: 253
char: 3
error: HTMLArea.I18N.tooltips is null or is not an object
code: 0

Thanks !




More information about the opencms-dev mailing list