[opencms-dev] Error in tree.js in WYSIWYG editor when I create alink...

Arash Kaffamanesh arash.kaffamanesh at pomegranate.de
Sat Aug 27 18:46:37 CEST 2005


Hi,

How do you access the wysiwyg editor from outside the workplace?

Arash

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Matias Basilico
Sent: Samstag, 27. August 2005 17:55
To: The OpenCms mailing list
Subject: [opencms-dev] Error in tree.js in WYSIWYG editor when I create
alink...


Hi all...

I'm trying to use the wysiwyg editor from outside the workplace, it is
all ok...but I have a little problem when I want to insert a link... I
click in the create link button, I click in the folder that opens the
tree but It seems to be a JavaScript Error when displaying the tree...

Here I send the error, It is:

"Error: vr.resource[3] has no properties"
//Source File: http://myserver.com/opencms6/resources/commons/tree.js
(Line: 296)

the line wich is involved is:

			// this node is not a folder
			if (vr.resource[node.type] != null) {
				showPic(doc, vr.skinPath +
vr.resource[node.type].icon);
			} else {
				// unknown type, use "plain" icon
Line 296    ==>	  showPic(doc, vr.skinPath + vr.resource[3].icon); 
			}


And it is in the:

function dfsTree(doc, node, depth, last, shape);


Any help??
-- 
Matutek


_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list