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

Add more ... buttons do not work with the Boost theme #78

Open
mudrd8mz opened this issue Nov 30, 2017 · 2 comments
Open

Add more ... buttons do not work with the Boost theme #78

mudrd8mz opened this issue Nov 30, 2017 · 2 comments

Comments

@mudrd8mz
Copy link
Owner

The addmore.js has some presumptions on how the actual form HTML looks like when trying to duplicate the fields. However, these presumptions work with the Clean themes only. In Boost, the form HTML has different structure and the buttons do not work at all.

@alexandru-elisei
Copy link
Contributor

I think the problem comes from the fact that the javascript parses the DOM to get the elements that it needs to duplicate.

I think the best way to fix this is to do a rewrite of the web interface by using mustache templates. This way you have more control over the element names and the html structure and you can generate the javascript code that manipulates the DOM at the same time with the html code.

@mudrd8mz
Copy link
Owner Author

I agree.

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