WordPress.org

Make WordPress Core

Ticket #26631: 26631.16.patch

File 26631.16.patch, 958 bytes (added by gcorne, 7 years ago)
  • src/wp-includes/js/media-views.js

    From 7e92b26cb82843c530c1421b12966818dbd244be Mon Sep 17 00:00:00 2001
    From: Gregory Cornelius <gcorne@gmail.com>
    Date: Fri, 28 Feb 2014 21:57:00 -0600
    Subject: [PATCH 3/3] Adjust priority of the seperator in the playlist menu
    
    Lower the priority so that the separator comes before the Edit Playlist
    item to match the how the Edit Gallery works.
    ---
     src/wp-includes/js/media-views.js | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git src/wp-includes/js/media-views.js src/wp-includes/js/media-views.js
    index d1fbc89..a9767e0 100644
     
    19361936                                },
    19371937                                separateCancel: new media.View({
    19381938                                        className: 'separator',
    1939                                         priority: 60
     1939                                        priority: 40
    19401940                                })
    19411941                        });
    19421942                },
     
    19601960                                },
    19611961                                separateCancel: new media.View({
    19621962                                        className: 'separator',
    1963                                         priority: 80
     1963                                        priority: 40
    19641964                                })
    19651965                        });
    19661966                },