Make WordPress Core

Changeset 32267


Ignore:
Timestamp:
04/22/2015 04:56:36 PM (10 years ago)
Author:
ocean90
Message:

Don't try to focus disabled input fields in the request filesystem credentials form.

fixes #32064.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/updates.js

    r32133 r32267  
    236236
    237237        $(document).trigger( 'wp-plugin-update-success', response );
    238        
     238
    239239        wp.updates.queueChecker();
    240240    };
     
    374374        $modal.show();
    375375
    376         $modal.find( '#hostname' ).focus();
     376        $modal.find( 'input:enabled:first' ).focus();
    377377        $modal.keydown( wp.updates.keydown );
    378378    };
Note: See TracChangeset for help on using the changeset viewer.