Ticket #18556: 18556.2.diff
File 18556.2.diff, 2.8 KB (added by , 11 years ago) |
---|
-
wp-includes/js/admin-bar.js
70 70 interval: 100 71 71 }); 72 72 73 adminbar.find('li.menupop').on({ 74 "draggable.start": function(e) { 75 disableHoverIntent = true; 76 }, 77 "draggable.stop": function(e) { 78 disableHoverIntent = false; 79 } 80 }) 81 73 82 if ( window.location.hash ) 74 83 window.scrollBy( 0, -32 ); 75 84 -
wp-admin/js/widgets.js
80 80 zIndex: 100, 81 81 containment: 'document', 82 82 start: function(e,ui) { 83 $('#wpadminbar li.menupop').trigger('draggable.start'); 83 84 ui.helper.find('div.widget-description').hide(); 84 85 the_id = this.id; 85 86 }, 86 87 stop: function(e,ui) { 88 $('#wpadminbar li.menupop').trigger('draggable.stop'); 87 89 if ( rem ) 88 90 $(rem).hide(); 89 91 … … 99 101 distance: 2, 100 102 containment: 'document', 101 103 start: function(e,ui) { 104 $('#wpadminbar li.menupop').trigger('draggable.start'); 102 105 ui.item.children('.widget-inside').hide(); 103 106 ui.item.css({margin:'', 'width':''}); 104 107 }, 105 108 stop: function(e,ui) { 109 $('#wpadminbar li.menupop').trigger('draggable.stop'); 106 110 if ( ui.item.hasClass('ui-draggable') && ui.item.data('draggable') ) 107 111 ui.item.draggable('destroy'); 108 112 -
wp-admin/js/nav-menu.js
562 562 handle: '.menu-item-handle', 563 563 placeholder: 'sortable-placeholder', 564 564 start: function(e, ui) { 565 $('#wpadminbar li.menupop').trigger('draggable.start'); 565 566 var height, width, parent, children, tempHolder; 566 567 567 568 // handle placement for rtl orientation … … 612 613 updateSharedVars(ui); 613 614 }, 614 615 stop: function(e, ui) { 616 $('#wpadminbar li.menupop').trigger('draggable.stop'); 615 617 var children, depthChange = currentDepth - originalDepth; 616 618 617 619 // Return child elements to the list -
wp-admin/js/postbox.js
79 79 forcePlaceholderSize: true, 80 80 helper: 'clone', 81 81 opacity: 0.65, 82 start: function(e, ui) { 83 $('#wpadminbar li.menupop').trigger('draggable.start'); 84 }, 82 85 stop: function(e,ui) { 86 $('#wpadminbar li.menupop').trigger('draggable.stop'); 83 87 if ( $(this).find('#dashboard_browser_nag').is(':visible') && 'dashboard_browser_nag' != this.firstChild.id ) { 84 88 $(this).sortable('cancel'); 85 89 return;