Ok, I found a way to do it:
I replaced your dnn.controls.dnntree.js, in line 485-486, where it reads:
if (oTNode.hasNodes || oTNode.hasPendingNodes) //if node has children then render expand/collapse icon
oNewContainer.appendChild(this.renderExpCol(oTNode));
for the following code:
if (oTNode.hasNodes || oTNode.hasPendingNodes) //if node has children then render expand/collapse icon
{
oNewContainer.appendChild(this.renderExpCol(oTNode));
//Lines bellow forces the DIV container to use events for expansion, Over and Out
oNewContainer.onclick = dnn.dom.getObjMethRef(this, 'nodeExpColClick');
oNewContainer.onmouseover = dnn.dom.getObjMethRef(this, 'nodeTextMOver');
oNewContainer.onmouseout = dnn.dom.getObjMethRef(this, 'nodeTextMOut');
}
and now its works like I wanted to, next step.... treeview localization. any ideias on how? i'm currently using effority's code for tabs localization, but cant place it on treeview, should I open another thread on this sbuject?
Thanks,
Paulo