Ticket #35460: 35460.patch
File 35460.patch, 1.1 KB (added by , 9 years ago) |
---|
-
src/wp-admin/js/inline-edit-tax.js
121 121 $( '#parent' ).find( 'option[value=' + option_value + ']' ).text( row.find( '.row-title' ).text() ); 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 }); 128 128 … … 148 148 $( 'table.widefat .spinner' ).removeClass( 'is-active' ); 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 }, 155 155