by obiwon » Fri Aug 25, 2006 4:13 am
Here is a good one that seems like it would be easy, I am just not sure where you would place the code to make it work.
Once the visitor drags and drops a "node", I want it to do the save changes routine once the mouse lets go of the node in its new location.
(obviously, we would want the values of the new location to be set before calling the save routine)
This makes it more intuitive so users do not have to update (or save or whatever) the database before continuing to work with the tree.
[post edit]
Nevermind, I did it.
I placed the saveMyTree_byForm() call at the end of the dropDragableNodes function, just in case anyone wants to know.