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

Alert popup when saving translations in the dashboard #3

Open
aurovrata opened this issue Nov 10, 2016 · 3 comments
Open

Alert popup when saving translations in the dashboard #3

aurovrata opened this issue Nov 10, 2016 · 3 comments
Assignees

Comments

@aurovrata
Copy link
Owner

@diggy any idea how to get rid of the javascript popup when navigating away from a saved translation cf7 form? (Screenshot #4 on the plugin page)

I tried a few support forums but found no answer. The problem I believe arises from the fact that the CF7 form editor page is a custom page which does not follow the WP std for post editing. I inject javascript in the footer to dynamically render the Polylang translation metabox on page load. As a result the WP javascript magic that checks if a page modification has been saved captures the changes in the polylang input fields, but does not register its ajax saving process (handled by the polylang plugin).

Since you have some experience with WP maybe you have a idea to solve this at the javascript level?

The only way I can think of resolving this is to redesign the CF7 form edit page by hijacking the page on the sub-menu.

@diggy
Copy link
Contributor

diggy commented Nov 10, 2016

@aurovrata currently on a tight time budget, just made a drive-by commit cause I needed this plugin for a client project, and ran into trouble. If this is a serious or annoying bug, I'm sure the client will complain, and I'll take look! As CF7 is an immensely popular plugin, and Polylang is on the rise, I'd suggest you contact Chouby (the author of Polylang, https://github.com/Chouby) to see if he has any ideas.

@aurovrata
Copy link
Owner Author

No worries, I just thought I would bounce this past you on the off-chance it might ring a bell.

Yeah Chouby has been helpful in the past. I will ping him to see if he has an idea.

If you use CF7 a lot you'll probably like the Post My CF7 form plugin extension too, which allows you to save every form submission as post.

@aurovrata
Copy link
Owner Author

aurovrata commented Dec 21, 2016 via email

@aurovrata aurovrata self-assigned this Dec 14, 2023
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