Changeset 8442
- Timestamp:
- 07/24/08 21:48:08 (1 month ago)
- Files:
-
- branches/crazyhorse/wp-admin/js/postbox.js (modified) (2 diffs)
- branches/crazyhorse/wp-admin/wp-admin.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/crazyhorse/wp-admin/js/postbox.js
r8425 r8442 4 4 add_postbox_toggles : function(page) { 5 5 $('.postbox h3').before('<a class="togbox">+</a> '); 6 $('.postbox h3, .postboxa.togbox').click( function() { $($(this).parent().get(0)).toggleClass('closed'); save_postboxes_state(page); } );6 $('.postbox a.togbox').click( function() { $($(this).parent().get(0)).toggleClass('closed'); save_postboxes_state(page); } ); 7 7 8 8 if ( $.browser.msie ) { … … 30 30 connectWith: [ '.meta-box-sortables' ], 31 31 items: '> .postbox', 32 handle: ' .hndle',32 handle: 'h3', 33 33 stop: function() { 34 34 if ( 'side-sortables' == this.id ) { // doing this with jQuery doesn't work for some reason: make-it-tall gets duplicated branches/crazyhorse/wp-admin/wp-admin.css
r8436 r8442 1585 1585 } 1586 1586 1587 #poststuff h3, #poststuff .closed h3 {1588 cursor: pointer;1589 }1590 1591 1587 .hide-if-no-js { 1592 1588 display: none; … … 1697 1693 } 1698 1694 1699 . hndle{1695 .ui-sortable .postbox h3 { 1700 1696 cursor:move; 1701 padding:6px 10px 6px 0pt;1702 1697 } 1703 1698
