Duplicate Sub-Folders (Child Nodes) are displayed when a Parent Folder is expanded in the Tree View. The Child Nodes are retrieved dynamically using a server side script (JSP page) and there are no issues with the script itself or the XML that is generated.
This issues seems to be happening when a user clicks multiple times on a particular Folder. As the Folder is trying to load asynchronously, if the user clicks on the Folder button before the Child Nodes are displayed, the duplicate Child Folders seem to be surfacing. Is there anyway to restrict the user from repeatedly clicking on a Folder while it is trying to load its contents or some other way to prevent the duplicate folders being displayed.
Attaching the pertinent code snippet and a snapshot of the error.
Appreciate your feedback.
treeBug.zip (16.6 KB)