开发者

Store JsTree order back into database

开发者 https://www.devze.com 2022-12-22 11:59 出处:网络
Hi I am using JsTree and got some of it working with my database. Such as deleting a node, r开发者_运维知识库enaming a node, etc.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消