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

Extract custom data edit template code to shared template #11950

Merged
merged 1 commit into from
Apr 5, 2018

Conversation

mattwire
Copy link
Contributor

@mattwire mattwire commented Apr 5, 2018

Overview

Each form that edits custom data uses the same template code but it is duplicated rather than shared. Extract custom data edit template code to a new shared template that can replace the duplication.

Ref #11899 #11910

Before

Duplicate template code.

After

Contribution edit form uses new shared template.

Technical Details

The custom data fields are built using a javascript function and AJAX. That's what the template code is doing.

@eileenmcnaughton Extracted from #11910

@eileenmcnaughton
Copy link
Contributor

Merging - this is a simple extraction which I reviewed earlier

@eileenmcnaughton eileenmcnaughton merged commit da0c485 into civicrm:master Apr 5, 2018
@mattwire mattwire deleted the cust_data_tpl_extract branch September 25, 2018 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants