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

autosave via ajax does not work properly #43

Closed
dwwe2017 opened this issue Jun 23, 2018 · 1 comment
Closed

autosave via ajax does not work properly #43

dwwe2017 opened this issue Jun 23, 2018 · 1 comment

Comments

@dwwe2017
Copy link

First of all many thanks for the great plugin, unfortunately, it does not work properly with me. I want to save the notes via Ajax, that works as far as that, only if I add a text in the note, no onChange will be executed. Also a manual save with $ .PostItAll.save () alerts alkes to the new 'content' of the note, what am I doing wrong? Could it be other than the jQuery version 1.6.3? Thank you in advance. It also happens that he discards the height and width when loading the stored notes.

@txusko
Copy link
Owner

txusko commented Sep 15, 2018

Hi @dwwe2017, and sorry for my late response.
When you say that you want to save notes via AJAX, I understand that you are using a backend to store the notes? Can I see some example code?
Regarding the dimensions, it discards all the changes? I mean, to a bigger and smaller note, or it only happens when you try to make note smaller, because if this is your case, maybe the global variables minWidth and minHeight are preventing notes to be smaller than it really can. You can try to change this values globally. f.ex: $.fn.postitall.defaults.minWidth = 50

@txusko txusko closed this as completed Dec 18, 2020
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

2 participants