• Resolved Erick

    (@eruizdechavez)


    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]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    Thanks for notifying me of this issue! This must have broke in one of the WP updates that changed the included jQuery version. I made the change, and it will be included in the next update. It could be a couple of weeks until this update is released as it includes some major under the hood changes by incorporating an official taxonomy API.

    Thread Starter Erick

    (@eruizdechavez)

    Thanks Steven, glad to be helpful.

    It could be a couple of weeks until this update is released as it includes some major under the hood changes by incorporating an official taxonomy API

    I understand. Fortunately there is a simple workaround for this issue (inspect element, remove display: none) so it isn’t really blocking me or my users.

    Looking forward to this update.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Issue when adding fields in Fieldset Configuration’ is closed to new replies.