Changeset 26421
- Timestamp:
- 11/26/2013 10:18:14 PM (11 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/wp-admin.css
r26420 r26421 11397 11397 } 11398 11398 11399 #wpbody-content { 11400 padding-bottom: 100px; 11401 } 11402 11399 11403 p.search-box { 11400 11404 float: none; 11401 clear: both; 11402 margin-top: 35px; 11405 position: absolute; 11406 bottom: 0; 11407 width: 98%; 11408 height: 90px; 11409 margin-bottom: 20px; 11403 11410 } 11404 11411 … … 11408 11415 width: 100%; 11409 11416 margin-bottom: 10px; 11417 vertical-align: middle; 11410 11418 -webkit-appearance: none; 11419 } 11420 11421 p.search-box input[type="submit"] { 11422 margin-bottom: 10px; 11411 11423 } 11412 11424 -
trunk/src/wp-admin/js/common.js
r26402 r26421 565 565 $adminmenu.data( 'wp-responsive', 1 ); 566 566 this.disableSortables(); 567 this.movePostSearch();568 567 }, 569 568 … … 572 571 $adminmenu.removeData('wp-responsive'); 573 572 this.enableSortables(); 574 this.restorePostSearch();575 573 }, 576 574 … … 632 630 } catch(e) {} 633 631 } 634 },635 636 movePostSearch: function() {637 this.searchBox = $( 'p.search-box' );638 639 if ( this.searchBox.length ) {640 this.searchBox.hide();641 642 if ( this.searchBoxClone === undefined ) {643 this.searchBoxClone = this.searchBox.first().clone().insertAfter( 'div.tablenav.bottom' );644 }645 646 this.searchBoxClone.show();647 }648 },649 650 restorePostSearch: function() {651 if ( this.searchBox !== undefined ) {652 this.searchBox.show();653 654 if ( this.searchBoxClone !== undefined ) {655 this.searchBoxClone.hide();656 }657 }658 632 } 659 633 };
Note: See TracChangeset
for help on using the changeset viewer.