Ticket #5498: 5498.patch
File 5498.patch, 1.2 KB (added by , 11 years ago) |
---|
-
bp-templates/bp-legacy/js/buddypress.js
1009 1009 jq( '.visibility-toggle-link' ).on( 'click', function( event ) { 1010 1010 event.preventDefault(); 1011 1011 1012 jq( this ).parent().hide() 1013 .siblings( '.field-visibility-settings' ).show() ;1012 jq( this ).parent().hide().addClass('hide') 1013 .siblings( '.field-visibility-settings' ).show().addClass('open'); 1014 1014 } ); 1015 1015 1016 1016 jq( '.field-visibility-settings-close' ).on( 'click', function( event ) { … … 1019 1019 var settings_div = jq( this ).parent(), 1020 1020 vis_setting_text = settings_div.find( 'input:checked' ).parent().text(); 1021 1021 1022 settings_div.hide() 1022 settings_div.hide().removeClass('open') 1023 1023 .siblings( '.field-visibility-settings-toggle' ) 1024 1024 .children( '.current-visibility-level' ).text( vis_setting_text ).end() 1025 .show() ;1025 .show().removeClass('hide'); 1026 1026 } ); 1027 1027 1028 1028 jq("#profile-edit-form input:not(:submit), #profile-edit-form textarea, #profile-edit-form select, #signup_form input:not(:submit), #signup_form textarea, #signup_form select").change( function() {