Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RestoreState Error with PHP JSON #52

Open
gduffy100 opened this issue Dec 21, 2015 · 0 comments
Open

RestoreState Error with PHP JSON #52

gduffy100 opened this issue Dec 21, 2015 · 0 comments

Comments

@gduffy100
Copy link

Hi,

I have managed to use the ajax function to save a state to my database.

Now I am trying to re-load it and I am getting an error. This is what the page mark up looks like:

restoreState: {"general_ledger_trans_vw_id":"2","gl_account":"1","CC_Desc":"4","AC_Desc":"3","PJ_Desc":"5","journal_header_id":"6"}
});

and the error I get in the console is TypeError: b is undefined, which is coming from swapNodes function, which is being called in the _bubbleCols function, line 145.

Prior to adding the restoreState option, the table was working fine. I can comment out the restoreState item and the dragging works, using a handle and sending ajax data.

Any thoughts on what is happening here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant