Changeset 29610
- Timestamp:
- 08/25/2014 11:04:43 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/customize-controls.css
r29608 r29610 253 253 content: "\f341"; 254 254 position: relative; 255 top: 13px;255 top: 7px; 256 256 left: 13px; 257 257 } … … 261 261 } 262 262 263 . current-panel .control-panel-back {263 .in-sub-panel .control-panel-back { 264 264 left: 0; 265 265 } -
trunk/src/wp-admin/customize.php
r29488 r29610 122 122 <span class="screen-reader-text"><?php _e( 'Cancel' ); ?></span> 123 123 </a> 124 <span class="control-panel-back" tabindex="-1"><span class="screen-reader-text"><?php _e( 'Back' ); ?></span></span> 124 125 </div> 125 126 -
trunk/src/wp-admin/js/accordion.js
r29042 r29610 48 48 49 49 // Go back to the top-level Customizer accordion. 50 $( ' .accordion-container' ).on( 'click keydown', '.control-panel-back', function( e ) {50 $( '#customize-header-actions' ).on( 'click keydown', '.control-panel-back', function( e ) { 51 51 if ( e.type === 'keydown' && 13 !== e.which ) { // "return" key 52 52 return; … … 55 55 e.preventDefault(); // Keep this AFTER the key filter above 56 56 57 panelSwitch( $( this) );57 panelSwitch( $( '.current-panel' ) ); 58 58 }); 59 59 }); … … 109 109 siblings = container.find( '.open' ), 110 110 topPanel = overlay.find( '#customize-theme-controls > ul > .accordion-section > .accordion-section-title' ).add( '#customize-info > .accordion-section-title' ), 111 backBtn = section.find( '.control-panel-back' ),111 backBtn = overlay.find( '.control-panel-back' ), 112 112 panelTitle = section.find( '.accordion-section-title' ).first(), 113 113 content = section.find( '.control-panel-content' ); -
trunk/src/wp-includes/class-wp-customize-panel.php
r29487 r29610 175 175 <span class="screen-reader-text"><?php _e( 'Press return or enter to open this panel' ); ?></span> 176 176 </h3> 177 <span class="control-panel-back" tabindex="-1"><span class="screen-reader-text"><?php _e( 'Back' ); ?></span></span>178 177 <ul class="accordion-sub-container control-panel-content"> 179 178 <li class="accordion-section control-section<?php if ( empty( $this->description ) ) echo ' cannot-expand'; ?>">
Note: See TracChangeset
for help on using the changeset viewer.