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

Bugfix/compatibility refresh on change and link type #182

Conversation

vincent-chapron
Copy link
Contributor

No description provided.

…add script to update hidden input on submit.
… of fields and detect the refresh on change with the hidden input and show the good fields.
* If the hidden input "current" is not null, this function show the good fields
* This hidden input has been added in the linkType because when the "data-refreshOnChange" was used,
* link field took 'none link' value, or value shouldn't be change.
*/
function showSelectedLinkType(selects) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not the right way to get it work... Actually, you just need to be sure the showSelectedLinkType function is well called when the form is reloaded

lenybernard pushed a commit that referenced this pull request Sep 10, 2015
…reshOnChange-and-linkType

Bugfix/compatibility refresh on change and link type
@lenybernard lenybernard merged commit e924bd5 into Victoire:master Sep 10, 2015
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

Successfully merging this pull request may close these issues.

2 participants