Ticket #18556: 18556.4.diff
File 18556.4.diff, 3.4 KB (added by , 10 years ago) |
---|
-
wp-admin/js/nav-menu.js
429 429 totalMenuItems = $('#menu-to-edit li').length, 430 430 hasSameDepthSibling = menuItem.nextAll( '.menu-item-depth-' + depth ).length; 431 431 432 menuItem.find( '.field-move' ).toggle( totalMenuItems > 1 ); 432 menuItem.find( '.field-move' ).toggle( totalMenuItems > 1 ); 433 433 434 434 // Where can they move this menu item? 435 435 if ( 0 !== position ) { … … 592 592 handle: '.menu-item-handle', 593 593 placeholder: 'sortable-placeholder', 594 594 start: function(e, ui) { 595 // Disable dropdown of adminbar 596 $('#wpadminbar .menupop').addClass('disable'); 597 595 598 var height, width, parent, children, tempHolder; 596 599 597 600 // handle placement for rtl orientation … … 642 645 updateSharedVars(ui); 643 646 }, 644 647 stop: function(e, ui) { 648 // Reactivate dropdown of adminbar 649 $('#wpadminbar .menupop').removeClass('disable'); 650 645 651 var children, subMenuTitle, 646 652 depthChange = currentDepth - originalDepth; 647 653 -
wp-admin/js/postbox.js
87 87 forcePlaceholderSize: true, 88 88 helper: 'clone', 89 89 opacity: 0.65, 90 start: function() { 91 // Disable dropdown of adminbar 92 $('#wpadminbar .menupop').addClass('disable'); 93 }, 90 94 stop: function() { 95 // Reactivate dropdown of adminbar 96 $('#wpadminbar .menupop').removeClass('disable'); 97 91 98 if ( $(this).find('#dashboard_browser_nag').is(':visible') && 'dashboard_browser_nag' != this.firstChild.id ) { 92 99 $(this).sortable('cancel'); 93 100 return; -
wp-admin/js/widgets.js
91 91 zIndex: 100, 92 92 containment: 'document', 93 93 start: function( event, ui ) { 94 // Disable dropdown of adminbar 95 $('#wpadminbar .menupop').addClass('disable'); 96 94 97 var chooser = $(this).find('.widgets-chooser'); 95 98 96 99 ui.helper.find('div.widget-description').hide(); … … 105 108 } 106 109 }, 107 110 stop: function() { 111 // Reactivate dropdown of adminbar 112 $('#wpadminbar .menupop').removeClass('disable'); 113 108 114 if ( rem ) { 109 115 $(rem).hide(); 110 116 } … … 121 127 distance: 2, 122 128 containment: 'document', 123 129 start: function( event, ui ) { 130 // Disable dropdown of adminbar 131 $('#wpadminbar .menupop').addClass('disable'); 132 124 133 var height, $this = $(this), 125 134 $wrap = $this.parent(), 126 135 inside = ui.item.children('.widget-inside'); … … 139 148 }, 140 149 141 150 stop: function( event, ui ) { 151 // Reactivate dropdown of adminbar 152 $('#wpadminbar .menupop').removeClass('disable'); 153 142 154 var addNew, widgetNumber, $sidebar, $children, child, item, 143 155 $widget = ui.item, 144 156 id = the_id; -
wp-includes/css/admin-bar.css
161 161 padding: 6px 0; 162 162 } 163 163 164 #wpadminbar .disable .ab-submenu { 165 display:none !important; 166 } 167 164 168 #wpadminbar .selected .shortlink-input { 165 169 display: block; 166 170 }