Skip to:
Content

BuddyPress.org

Changeset 12357


Ignore:
Timestamp:
03/12/2019 08:25:20 PM (5 years ago)
Author:
boonebgorges
Message:

Legacy: Ensure that profile field visibility text updates after visibility change.

The feature was originally introduced in [7152] and was broken by a change
in the DOM hierarchy in [11619].

Fixes #8044.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/js/buddypress.js

    r12334 r12357  
    11611161        settings_div.hide().removeClass( 'field-visibility-settings-open' )
    11621162            .siblings( '.field-visibility-settings-toggle' )
    1163                 .children( '.current-visibility-level' ).text( vis_setting_text ).end()
     1163                .find( '.current-visibility-level' ).text( vis_setting_text ).end()
    11641164            .show().removeClass( 'field-visibility-settings-hide' );
    11651165    } );
Note: See TracChangeset for help on using the changeset viewer.