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

Matias Basilico mbasilico at gmail.com
Sat Aug 27 17:55:20 CEST 2005


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



More information about the opencms-dev mailing list