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

Post Job Page Has Extra Fields #39

Open
alexfinnarn opened this issue May 12, 2017 · 2 comments
Open

Post Job Page Has Extra Fields #39

alexfinnarn opened this issue May 12, 2017 · 2 comments

Comments

@alexfinnarn
Copy link

Context / Current Result

When navigating from https://jobs.code4lib.org/jobs/new to other pages via the browser back/forward buttons (Chrome Version 58.0.3029.110 (64-bit)), the job fields keep getting added.

Expected Result

When navigating back and forth via the browser history buttons, the post jobs page only ever has one set of fields for posting a job.

Possible Fix

Wipe markup from post job page every time it loads. I'm not familiar with how the routing works or if some of the markup/data is stored locally, but erasing everything on that request path before rendering the page would seem easier to do than add other checks.

@alexfinnarn
Copy link
Author

screen shot 2017-05-12 at 11 12 33 am

@cbeer
Copy link
Member

cbeer commented May 12, 2017

Sounds like an incompatibility with CKEditor and turbolinks. I've fixed this in other applications by checking if the ckeditor is already initialized first.

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