remove_profile_items() removes last_name #8

Closed
carstingaxion opened this Issue Oct 21, 2012 · 1 comment

Projects

None yet

2 participants

@carstingaxion

Your jQuery selector to "Remove options for Keyboard Shortcuts" on the profile pages is a bit to common, it removes every third field in the multiple form tables.

Better would be something like

//<![CDATA[
jQuery(document).ready( function($){
    $('#your-profile .form-table').first().find( 'tr:nth-child(3)' ).remove();
});
//]]>
@bueltge bueltge added a commit that referenced this issue Oct 23, 2012
@bueltge fix for issue #8 and add license fdc920d
@bueltge
Owner

Thanks for this issue and solution; I have add your solution and works fine in my test.

@bueltge bueltge closed this Oct 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment