WordPress.org

Make WordPress Core

Changeset 44640


Ignore:
Timestamp:
01/17/2019 12:07:32 PM (5 weeks ago)
Author:
afercia
Message:

Media: Improve unselecting media in the media bulk selection mode.

Disables the "Delete Selected" button when unselecting media by clicking the
"checkmark" box in the media bulk selection mode.

Props subrataemfluence, adamsilverstein.
Fixes #42239.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/media/views/attachment.js

    r43309 r44640  
    510510            selection.add( this.model );
    511511        }
     512
     513        // Trigger an action button update.
     514        this.controller.trigger( 'selection:toggle' );
    512515    }
    513516});
Note: See TracChangeset for help on using the changeset viewer.