rem: image.setProperty('opened',  false); 
add: image.setProperty('opened',  'false'); 
context: 	function addTreeElements(nodes, rootUl, styleClassName, selectedGroups) {		if (nodes == null) {			return false;		}				var node = null;		for (var i = 0; i < nodes.length; i++) {			node = nodes[i];			var groupIsSelected = isGroupSelected(selectedGroups, node.uniqueId);						var liElement = new Element('li');			liElement.addClass('groupsTreePartNode');			liElement.setProperty('id', node.uniqueId + 'li');						var imageAndSpanContainer = new Element('div');			imageAndSpanContainer.injectInside(liElement);						var image = new Element('img');			var imgSrc = '/idegaweb/bundles/com.idega.user.bundle/resources/images/nav-minus.gif';			if (node.hasChildren) {				imgSrc = '/idegaweb/bundles/com.idega.user.bundle/resources/images/nav-plus.gif';			}			else {				image.setStyle('visibility', 'hidden');			}			image.setProperty('opened',  false);			image.setProperty('src', imgSrc);			image.setProperty('id', 'id' + new Date().getTime());			image.addClass('groupsTreeExpanderCollapserImageStyle');			image.injectInside(imageAndSpanContainer);						var groupImage = new Element('img');			if (node.image == null) {				groupImage.setStyle('visibility', 'hidden');			}			else {				groupImage.setProperty('src', node.image);			}			groupImage.injectInside(imageAndSpanContainer);						var groupName = new Element('span');			groupName.setProperty('id', node.uniqueId);			if (styleClassName != null) {				groupName.addClass(styleClassName);			}			var fontVariant = 'normal';			if (groupIsSelected) {				fontVariant = 'bold';			}			groupName.setStyle('font-weight', fontVariant);			groupName.appendText(node.name);			groupName.injectInside(imageAndSpanContainer);						if (node.hasChildren) {				var otherListContainer = new Element('div');				otherListContainer.injectInside(liElement);								var ulElement = new Element('ul');				ulElement.setProperty('start', false);				addTreeElements(node.children, ulElement, styleClassName, selectedGroups);				ulElement.addClass('tree_drag_drop');				ulElement.injectInside(otherListContainer);								otherListContainer.setStyle('display', 'none');			}						liElement.injectInside(rootUl);		}				return true;	}
meta: 5875	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5875/26ec246d0b894859cdc93181745610de3aa15526/groupTree.js/clean/resources/javascript/groupTree.js