Skip to content
This repository was archived by the owner on May 18, 2025. It is now read-only.
This repository was archived by the owner on May 18, 2025. It is now read-only.

Javascript broken when adding/editing team member #66

Description

@angelo-moreira

JS seems to be broken when editing/adding a team member, cannot click the help tab.
After debugging for a bit I came across to a comment that pointed to wrap

                    // Unset #user_id if #user_search is emptied
                        if ( jQuery(this).val().length == 0 ) {
                            jQuery( "#user_id" ).val( 0 );
                        }

like

                    // Unset #user_id if #user_search is emptied
                    jQuery( '#user_search' ).blur(function() {
                        if ( jQuery(this).val().length == 0 ) {
                            jQuery( "#user_id" ).val( 0 );
                        }
                    });

this is the file class-woothemes-our-team.php around line 763

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions