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

Release 2.27.1 #2109

Merged
merged 2 commits into from
Aug 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix issue with adding fields in Edit Entry with Multiple Forms
Related to 28a95f5
mrcasual committed Aug 14, 2024
commit c4d6c6bf3ec7392c9112174907d90fb4c9295d9a
2 changes: 1 addition & 1 deletion assets/js/admin-views.js
Original file line number Diff line number Diff line change
@@ -2219,7 +2219,7 @@
placeField: function ( $field, $addButton, $anchor, add_before_anchor = false ) {
const vcfg = viewConfiguration;
const $newField = $field.clone().hide();
const templateId = $addButton.attr( 'data-templateid' ) ?? $addButton.parents( '.gv-section' ).find( '.view-template-select select' ).val();
const templateId = $addButton.attr( 'data-templateid' ) ?? $addButton.parents( '.gv-section' ).find( '.view-template-select select' ).val() ?? $( "#gravityview_directory_template" ).val();

const data = {
action: 'gv_field_options',