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

Check if a page has actually been modified before calling api->save #144

Open
sy238-unikent opened this issue Oct 27, 2017 · 0 comments
Open
Labels

Comments

@sy238-unikent
Copy link
Contributor

No point making needless API requests

... although it might be that another user has changed the page, and actually we want to overwrite that with what we had saved...

Might be better to make the API call after all and let the API decide if it needs to do anything... possibly return a different status code if nothing to update, so Editor can decide whether or not to show "saved" dialog.

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

No branches or pull requests

1 participant