Customizer: Fix tabindex of reorder buttons for menu items with depth 1 and 10.

props celloexpressions.
fixes #32767.
Built from https://develop.svn.wordpress.org/trunk@33077


git-svn-id: http://core.svn.wordpress.org/trunk@33048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2015-07-03 22:21:24 +00:00
parent b2299463b6
commit 340f1e121e
7 changed files with 12 additions and 11 deletions

View File

@ -172,9 +172,7 @@
.move-up-disabled .menus-move-up,
.move-down-disabled .menus-move-down,
.move-right-disabled .menus-move-right,
.move-left-disabled .menus-move-left,
.menu-item-depth-0 .menus-move-left,
.menu-item-depth-10 .menus-move-right {
.move-left-disabled .menus-move-left {
color: #d5d5d5 !important;
background-color: #fff !important;
cursor: default;

File diff suppressed because one or more lines are too long

View File

@ -172,9 +172,7 @@
.move-up-disabled .menus-move-up,
.move-down-disabled .menus-move-down,
.move-right-disabled .menus-move-right,
.move-left-disabled .menus-move-left,
.menu-item-depth-0 .menus-move-left,
.menu-item-depth-10 .menus-move-right {
.move-left-disabled .menus-move-left {
color: #d5d5d5 !important;
background-color: #fff !important;
cursor: default;

File diff suppressed because one or more lines are too long

View File

@ -2026,6 +2026,11 @@
if ( currentMenuItemControls.length ) {
_( currentMenuItemControls ).each(function( menuItemControl ) {
menuItemControl.container.removeClass( 'move-up-disabled move-down-disabled move-left-disabled move-right-disabled' );
if ( 0 === context.currentDepth ) {
menuItemControl.container.addClass( 'move-left-disabled' );
} else if ( 10 === context.currentDepth ) {
menuItemControl.container.addClass( 'move-right-disabled' );
}
});
currentMenuItemControls[0].container

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-beta1-33076';
$wp_version = '4.3-beta1-33077';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.