Manual Folder tree creation script issue->please suggest
posted 3 years ago
I am a new user of dojo toolkit 1.9 version, I want to implement an option in my folder tree structure which can facilitate me to right click on any folder in that tree and create a new folder under it manually. Any sample code or snippet to perform this operation will be helpful in this context.
SEQUENCE OF OPERATIONS:
Folder (TREE) ---> Click on any Folder ---> prompts a message ("Enter a folder name say Folder 1 in this case)--> user enters folder name manually and it is added to the folder structure
Here is the section of dojo code where I am trying to implement a feature which will prompt a message to" Enter a folder name" on double click of folder but it is not working not sure where I am going wrong. I am going wrong somewhere in this script because of which the invoke of double click isn't working. Can someone suggest me the code I need to change here?
Is it something I am doing incorrect with reference to the sequence of the script? Can someone please take a look at the below code and suggest.