Ticket #15553: 15553.diff
File 15553.diff, 1.0 KB (added by , 13 years ago) |
---|
-
wp-admin/js/list-table.dev.js
248 248 if ( $('h2.nav-tab-wrapper').length ) 249 249 return; 250 250 251 $('h2 .subtitle').remove(); 251 if ( 'site-users-network' == pagenow || 'site-themes-network' == pagenow ) { 252 $('p.search-text').remove(); 252 253 253 if ( data.s ) 254 $('h2').append($('<span class="subtitle">').html( 255 listTableL10n.search.replace('%s', this.htmlencode(data.s)) 256 )); 254 if ( data.s ) 255 $('ul.subsubsub').before($('<p class="search-text">').html( 256 listTableL10n.search.replace('%s', this.htmlencode(data.s)) 257 )); 258 } else { 259 $('h2 .subtitle').remove(); 260 261 if ( data.s ) 262 $('h2').append($('<span class="subtitle">').html( 263 listTableL10n.search.replace('%s', this.htmlencode(data.s)) 264 )); 265 } 257 266 }); 258 267 } 259 268 $('.search-box :submit').click(change_search); … … 286 295 return false; 287 296 }); 288 297 }); 289