mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-21 22:15:28 +00:00
Fix JSHint errors introduced in [30120].
see #30193. Built from https://develop.svn.wordpress.org/trunk@30123 git-svn-id: http://core.svn.wordpress.org/trunk@30123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
66c47f29bb
commit
2e76a697f6
@ -1315,7 +1315,7 @@
|
||||
SettingsView = this.get('SettingsView'),
|
||||
obj = {};
|
||||
|
||||
if ( ! library || ! browser ) {
|
||||
if ( ! library || ! attachmentsBrowserView ) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1327,17 +1327,17 @@
|
||||
priority: 40
|
||||
});
|
||||
|
||||
browser.sidebar.set( obj );
|
||||
attachmentsBrowserView.sidebar.set( obj );
|
||||
|
||||
if ( dragInfoText ) {
|
||||
browser.toolbar.set( 'dragInfo', new media.View({
|
||||
attachmentsBrowserView.toolbar.set( 'dragInfo', new media.View({
|
||||
el: $( '<div class="instructions">' + dragInfoText + '</div>' )[0],
|
||||
priority: -40
|
||||
}) );
|
||||
}
|
||||
|
||||
// Add the 'Reverse order' button to the toolbar.
|
||||
browser.toolbar.set( 'reverse', {
|
||||
attachmentsBrowserView.toolbar.set( 'reverse', {
|
||||
text: l10n.reverseOrder,
|
||||
priority: 80,
|
||||
|
||||
@ -3383,7 +3383,6 @@
|
||||
},
|
||||
|
||||
initialize: function( options ) {
|
||||
debugger;
|
||||
this.image = new media.model.PostImage( options.metadata );
|
||||
this.options.selection = new media.model.Selection( this.image.attachment, { multiple: false } );
|
||||
media.view.MediaFrame.Select.prototype.initialize.apply( this, arguments );
|
||||
|
2
wp-includes/js/media-views.min.js
vendored
2
wp-includes/js/media-views.min.js
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.1-alpha-30122';
|
||||
$wp_version = '4.1-alpha-30123';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user