Scott Yu - builds stuff
Scott Yu - builds stuff

Reputation: 11763

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, renaming 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

Upvotes: 1

Views: 1297

Answers (1)

Scott Yu - builds stuff
Scott Yu - builds stuff

Reputation: 11763

I figured it out. Had to put a static root folder at the top to put everything else under and that made it work.

Upvotes: 1

Related Questions