Store JsTree order back into database
Hi I am using JsTree and got some of it working with my database. Such as deleting a node, r开发者_运维知识库enaming a node, etc.
I am having problems with saving the ROOT folders order back to the database. When I move the root folders, it doesnt save order. When I move the sub folders around, it saves order fine.
Anyone know what I am doing wrong? I think it's my javascript for the onmove.
here's a demo of what I am talking about.
http://healthsharing.com/jstree/demo.php
I figured it out. Had to put a static root folder at the top to put everything else under and that made it work.
精彩评论