Ticket #10021: 10021.5.diff
File 10021.5.diff, 1.5 KB (added by , 16 years ago) |
---|
-
wp-admin/js/common.dev.js
175 175 .animate( { opacity: 1 }, 400); 176 176 177 177 // Move .updated and .error alert boxes 178 $('div.wrap ').children('h2:first').nextAll('div.updated, div.error').addClass('below-h2');179 $('div.updated, div.error').not('.below-h2').insertAfter( $('div.wrap ').children('h2:first') );178 $('div.wrap h2:first').nextAll('div.updated, div.error').addClass('below-h2'); 179 $('div.updated, div.error').not('.below-h2').insertAfter( $('div.wrap h2:first') ); 180 180 181 181 // screen settings tab 182 182 $('#show-settings-link').click(function () { -
wp-admin/js/widgets.dev.js
91 91 placeholder: 'widget-placeholder', 92 92 items: '> .widget', 93 93 handle: '> .widget-top > .widget-title', 94 connectWith: 'div.widgets-sortables',95 94 cursor: 'move', 96 95 distance: 2, 97 96 containment: 'document', … … 138 137 if ( !$(this).is(':visible') ) 139 138 $(this).sortable('cancel'); 140 139 } 141 }). parent().filter('.closed').children('.widgets-sortables').sortable('disable');140 })..sortable('option', 'connectWith', 'div.widgets-sortables').parent().filter('.closed').children('.widgets-sortables').sortable('disable'); 142 141 143 142 $('#available-widgets').droppable({ 144 143 tolerance: 'pointer',