Don't try to focus disabled input fields in the request filesystem credentials form.
fixes #32064. git-svn-id: https://develop.svn.wordpress.org/trunk@32267 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2abf4c39ef
commit
5e371ea458
@ -235,7 +235,7 @@ window.wp = window.wp || {};
|
||||
wp.updates.updateLock = false;
|
||||
|
||||
$(document).trigger( 'wp-plugin-update-success', response );
|
||||
|
||||
|
||||
wp.updates.queueChecker();
|
||||
};
|
||||
|
||||
@ -373,7 +373,7 @@ window.wp = window.wp || {};
|
||||
$( 'body' ).addClass( 'modal-open' );
|
||||
$modal.show();
|
||||
|
||||
$modal.find( '#hostname' ).focus();
|
||||
$modal.find( 'input:enabled:first' ).focus();
|
||||
$modal.keydown( wp.updates.keydown );
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user