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

openModalInsert fixes and enhancements for issue 709 #712

Merged
merged 2 commits into from
Feb 25, 2018

Conversation

nikkilocke
Copy link
Contributor

Fix bug where, if a name is provided which is different to the fieldName, an exception was thrown in the OK button handler.

When populating the results in values, use name (if provided) rather than the fieldName.

Explicitly support radio buttons (multiple type:'radio' options with the same name), returning the name element in values to the value of the selected radio button.

To compensate a little for the few extra lines of code, optimise the $.each which builds the dialog html slightly.

Add a little more documentation in docs/documentation/core/index/html and docs/documentation/index.html (I was not sure whether one was generated automatically from the other, so updated both).

*** NOTE ***

I have not updated any of the files in dist. I assume that is done as part of the release process.

Issue 709 refers.

Fix bug where, if a name is provided which is different to the fieldName, an exception was thrown in the OK button handler.

When populating the results in values, use name (if provided) rather than the fieldName.

Explicitly support radio buttons (multiple type:'radio' options with the same name), returning the name element in values to the value of the selected radio button.

To compensate a little for the few extra lines of code, optimise the $.each which builds the dialog html slightly.

Add a little more documentation in docs/documentation/core/index/html and docs/documentation/index.html (I was not sure whether one was generated automatically from the other, so updated both).

*** NOTE ***

I have not updated any of the files in dist. I assume that is done as part of the release process.
@Alex-D
Copy link
Owner

Alex-D commented Feb 14, 2018

Looks good to me, but I need to test it :)

@Alex-D Alex-D merged commit 699adc6 into Alex-D:develop Feb 25, 2018
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