Changeset 36304
- Timestamp:
- 01/14/2016 11:02:05 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/inline-edit-tax.js
r36260 r36304 122 122 123 123 row.hide().fadeIn( 400, function() { 124 // Move focus back to the taxonomy title.125 row.find( '. row-title' ).focus();124 // Move focus back to the Quick Edit link. 125 row.find( '.editinline' ).focus(); 126 126 wp.a11y.speak( inlineEditL10n.saved ); 127 127 }); … … 149 149 $('#'+id).siblings('tr.hidden').addBack().remove(); 150 150 id = id.substr( id.lastIndexOf('-') + 1 ); 151 // Show the taxonomy listing and move focus back to the taxonomy title.152 $( this.what + id ).show().find( '. row-title' ).focus();151 // Show the taxonomy row and move focus back to the Quick Edit link. 152 $( this.what + id ).show().find( '.editinline' ).focus(); 153 153 } 154 154 },
Note: See TracChangeset
for help on using the changeset viewer.