wp/wp-admin/js/application-passwords.js
changeset 21 48c4eec2b7e6
parent 18 be944660c56a
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
    58 
    58 
    59 			$newAppPassForm.after( tmplNewAppPass( {
    59 			$newAppPassForm.after( tmplNewAppPass( {
    60 				name: response.name,
    60 				name: response.name,
    61 				password: response.password
    61 				password: response.password
    62 			} ) );
    62 			} ) );
    63 			$( '.new-application-password-notice' ).trigger( 'focus' );
    63 			$( '.new-application-password-notice' ).attr( 'tabindex', '-1' ).trigger( 'focus' );
    64 
    64 
    65 			$appPassTbody.prepend( tmplAppPassRow( response ) );
    65 			$appPassTbody.prepend( tmplAppPassRow( response ) );
    66 
    66 
    67 			$appPassTwrapper.show();
    67 			$appPassTwrapper.show();
    68 			$appPassTrNoItems.remove();
    68 			$appPassTrNoItems.remove();