WordPress.org

Make WordPress Core

Changeset 39690


Ignore:
Timestamp:
01/05/2017 07:27:38 AM (3 years ago)
Author:
dd32
Message:

Updates: Properly define $filesystemForm to handle error in modals.

Amends [39657].
Merges [39689] to the 4.7 branch.
See #39057.

Location:
branches/4.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.7

  • branches/4.7/src/wp-admin/js/updates.js

    r39658 r39690  
    15171517     */
    15181518    wp.updates.showErrorInCredentialsForm = function( message ) {
     1519        var $filesystemForm = $( '#request-filesystem-credentials-form' );
     1520
    15191521        // Remove any existing error.
    15201522        $filesystemForm.find( '.notice' ).remove();
Note: See TracChangeset for help on using the changeset viewer.