Issue when adding fields in Fieldset Configuration
-
I discovered this issue while attempting to add social networks in the Fieldset Configuration screen. When clicking the add button, nothing happens. After several hours of tests and debugging I tracked down the issue to the JS portion of the code.
Plugin name and version: Connections Business Directory v10.1
Steps to reproduce:
- In a WordPress site with Connections plugin installed and active, go to <you sure url>/wp-admin/admin.php?page=connections_settings&tab=field-configuration
- Scroll all the way down until the “Add” button of “Social Network Type Options” is visible
- Click on the “Add” button
Expected behavior:
A new field should appear
Actual behavior:
The field is actually added to the DOM, but its style is set as “display: none”.
Proposed fix:
On /connections/assets/js/cn-setting-sortable-repeatable-input-list.js line 53:
// Unhide the cloned object. - clone.toggle(); + clone.show();The page I need help with: [log in to see the link]
The topic ‘Issue when adding fields in Fieldset Configuration’ is closed to new replies.