How to add node at the root level

Sep 22, 2010 at 2:25 PM

When i deleted all the nodes below root node and try to add the node at root level, i got the error at the below method

function CreateLiNodeId(linode)

on line  " = Math.uuid();"


Reason i guess is the "linode" parameter comes undefined.


Can anybody provide any suggestion for this?