Changeset 10107
- Timestamp:
- 12/07/2008 09:04:38 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
wp-admin/js/common.js (modified) (2 diffs)
-
wp-includes/script-loader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/common.js
r10074 r10107 193 193 var first = checks.index( lastClicked ); 194 194 var last = checks.index( this ); 195 var checked = $(this).attr('checked'); 195 196 if ( 0 < first && 0 < last && first != last ) { 196 checks.slice( first, last ).attr( 'checked', $( this ).is( ':checked' ) ? 'checked' : '' ); 197 checks.slice( first, last ).attr( 'checked', function(){ 198 if ( $(this).parents('tr').is(':visible') ) 199 return checked ? 'checked' : ''; 200 201 return ''; 202 }); 197 203 } 198 204 } … … 206 212 var toggle = e.shiftKey || toggleWithKeyboard; 207 213 $(this).parents( 'form:first' ).find( 'table tbody:visible').find( '.check-column :checkbox' ).attr( 'checked', function() { 214 if ( $(this).parents('tr').is(':hidden') ) 215 return ''; 208 216 if ( toggle ) 209 217 return $(this).attr( 'checked' ) ? '' : 'checked'; -
trunk/wp-includes/script-loader.php
r10102 r10107 42 42 $scripts->default_version = get_bloginfo( 'version' ); 43 43 44 $scripts->add( 'common', '/wp-admin/js/common.js', array('jquery', 'hoverIntent'), '20081206 ' );44 $scripts->add( 'common', '/wp-admin/js/common.js', array('jquery', 'hoverIntent'), '20081206b' ); 45 45 $scripts->add( 'sack', '/wp-includes/js/tw-sack.js', false, '1.6.1' ); 46 46
Note: See TracChangeset
for help on using the changeset viewer.