Make WordPress Core

Ticket #54960: 54960.patch

File 54960.patch, 589 bytes (added by ravipatel, 4 years ago)

Patch for js issue which is defined in screenshort and after this code drag-drop working fine

  • src/js/media/views/attachments/browser.js

     
    130130                        mediaFoundHasMoreResultsMessage = __( 'Number of media items displayed: %d. Scroll the page for more results.' );
    131131                }
    132132
    133                 if ( this.collection.mirroring.args.s ) {
     133                if (this.collection.hasOwnProperty('mirroring') && this.collection.mirroring.args.s) {
    134134                        count = this.collection.length;
    135135
    136136                        if ( 0 === count ) {